Swing JTable and TableColumn

You can use the visual editor to arrange data in rows and columns using Swing's JTable and TableColumn.

When you drop a Swing JTable onto your design from the palette, the visual editor uses the table default table model (javax.swing.table.DefaultTableModel) to visualize the table. If you write your own Java code to assign a table model, the visual editor will parse the source and attempt to instantiate and apply the table model to the instance of the JTable in the Design view.


table columns in Design view

(C) Copyright IBM Corporation 1999, 2004. All Rights Reserved.