public void mouseReleased(MouseEvent e) { if(e.isPopupTrigger()) { PatchEdit.showMenuPatchPopup(table2, e.getX(), e.getY()); table2.setRowSelectionInterval( table2.rowAtPoint(new Point(e.getX(),e.getY())), table2.rowAtPoint(new Point(e.getX(),e.getY())) ); } }
public void mouseReleased(MouseEvent e) { myModel.fireTableDataChanged(); }
            public void mouseReleased(MouseEvent e)            {                if(e.isPopupTrigger())                {                    PatchEdit.showMenuPatchPopup(table2, e.getX(), e.getY());                    table2.setRowSelectionInterval(                    table2.rowAtPoint(new Point(e.getX(),e.getY())),                    table2.rowAtPoint(new Point(e.getX(),e.getY()))                    );                }            }