IPatch myPatch = myModel.getPatchAt(table.getSelectedRow()); new ReassignPatchDialog(myPatch); myModel.fireTableDataChanged();
new ReassignPatchDialog(getSelectedPatch()); changed();
    public void reassignSelectedPatch() {        IPatch myPatch = myModel.getPatchAt(table.getSelectedRow());        new ReassignPatchDialog(myPatch);        myModel.fireTableDataChanged();    }