| View previous topic :: View next topic |
| Author |
Message |
reson8
Joined: 08 Jan 2009 Posts: 1
|
Posted: Thu Jan 08, 2009 2:43 am Post subject: does anyone know of a good example of TableItem usage |
|
|
as a beginner in java and Netbeans I am having trouble working out how to use the TableItem class. I have done the tutorial but find the level of explanation very basic. Could someone point me to a fully-fledged sample using this class or documentation that covers how to insert/modify/delete information using it?
Any help will be much appreciated. |
|
| Back to top |
|
 |
Pada
Joined: 18 Jan 2009 Posts: 6 Location: Stellenbosch, South-Africa
|
Posted: Mon Jan 19, 2009 4:02 pm Post subject: |
|
|
Here's an example of how to edit the values inside the table:
http://blogs.sun.com/bblog/entry/how_to_edit_cells_in
It shows you how to get the selected row & colum, the value at that position & how to update the value (by invoking the fireTableModelChanged)
Hope that helps. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|