I have designed a form using JGoodies. In my From I have a Jtable.
FormLayout layout = new FormLayout(…) ;
CellConstraints cc = new CellConstraints() ;
PanelBuilder builder = new PanelBuilder(layout);
String[] columnNames = {"name","code"};
Object[][] data = null ;
DefaultTableModel tmodel = new DefaultTableModel(data, columnNames);
JTable table = new JTable(tmodel);
JScrollPane scrollPane = new JScrollPane(table);
builder.add(scrollPane, cc.xyw (2, 6, 9));
this.add(builder.getPanel()) ;
When the table's content changes, I have to refresh the screen to show the new table. How can I do this?