*
* @return javax.swing.JList
*/
public JXTable getElementList() {
if (elementTable == null) {
DefaultListSelectionModel defaultListSelectionModel1 = new DefaultListSelectionModel();
elementTable = new JXTable();
elementTable.setBorder(new LineBorder(Color.GRAY, 2));
// Editor
elementTable.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
elementTable.setColumnSelectionAllowed(false);
elementTable.setRowSelectionAllowed(true);
elementTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
elementTable.setSelectionModel(defaultListSelectionModel1);
elementTable.setDefaultEditor(String.class, new CellSelectionnableTextEditor(new JTextField()));
elementTable.setSortable(false);
defaultListSelectionModel1.setAnchorSelectionIndex(-1);
defaultListSelectionModel1.setLeadSelectionIndex(-1);
}
return elementTable;
}