//
// Build the model and create the table...
PropertyTableModel<JidePropertyImpl> propertyTableModel = new PropertyTableModel<JidePropertyImpl>(model);
PropertyTable propertyTable = new PropertyTable(propertyTableModel);
propertyTable.addFocusListener(new FocusListener() {
public void focusLost(FocusEvent e) {
if (!e.isTemporary()) {
JTable t = (JTable) e.getSource();
CellEditor ce = t.getCellEditor();
if (ce != null) {
ce.stopCellEditing();
}
}
}
public void focusGained(FocusEvent e) {
}
});
propertyTable.expandAll();
PropertyPane propertyPane = new PropertyPane(propertyTable);
return propertyPane;
}