Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
JTable
The JTable is used to display and edit
regular two-dimensional tables of cells.
With the JTable class you can display tables
of data, optionally allowing the user to edit
the data. JTable does not contain or cache
data; it is simply a view of your data.
To add JTable Component
Go to Palette window, under the Swing
Controls click the JTable component
Click on your JFrame to add the table
You may customize the Header and the
number of columns by accessing the
model property.
Adding Content in your Table