FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

does anyone know of a good example of TableItem usage

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
reson8



Joined: 08 Jan 2009
Posts: 1

PostPosted: Thu Jan 08, 2009 2:43 am    Post subject: does anyone know of a good example of TableItem usage Reply with quote

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
View user's profile Send private message
Pada



Joined: 18 Jan 2009
Posts: 6
Location: Stellenbosch, South-Africa

PostPosted: Mon Jan 19, 2009 4:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB