if (layoutTable.getSelectedRows().length > 0)
layoutTable.removeRowSelectionInterval(0, layoutTable.getRowCount() - 1);
layoutTable.addRowSelectionInterval(layoutTable.rowAtPoint(e.getPoint()), layoutTable.rowAtPoint(e.getPoint()));
}
} else if ( (e.getSource().equals(objectLayoutTable)) && (e.getButton() == e.BUTTON3) ) {
if ( (objectLayoutTable.getRowCount() > 0) && (objectLayoutTable.rowAtPoint(e.getPoint()) != -1) ) {
if (objectLayoutTable.getSelectedRows().length > 0)
objectLayoutTable.removeRowSelectionInterval(0, objectLayoutTable.getRowCount() - 1);
objectLayoutTable.addRowSelectionInterval(objectLayoutTable.rowAtPoint(e.getPoint()), objectLayoutTable.rowAtPoint(e.getPoint()));
}
} else if (e.getSource().equals(objectViewTable) && (e.getButton() == e.BUTTON3)) {