// action = text to display as description of the action static JTable tableDefaultAction(JTable table, S action, O runnable) { Runnable r = rThread(runnable); onDoubleClickOrEnter(table, r); tablePopupMenuItem_top(r); }