public JComponent getComponent() {
if (panel != null) {
return panel;
}
headersTableModel = new StringToStringMapTableModel(model.getJMSProperties(), "Key", "Value",
!model.isReadOnly());
headersTableModel.addTableModelListener(new TableModelListener() {
public void tableChanged(TableModelEvent arg0) {
model.setJMSProperties(headersTableModel.getData());
setTitle("JMS Property (" + (model.getJMSProperties() == null ? "0" : model.getJMSProperties().size())