Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 help using JPanel and JList
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
939distrikt




PostPosted: Sun Jan 20, 2008 11:55 pm   Post subject: help using JPanel and JList

I'm programming an application for my grade 12 CPT. It takes a list of information and displays it in a JList inside a JPanel using a GridBagLayout. When the user selects an item in the list, then hits an "edit" button, a form pops up with the info that was selected, they can make changes, then they hit next. the data is then saved to a file. I'm having problems updating the edited info in the JList. I tried setContent but it does not update the JList when i call it. Does anyone know the best method for doing so, or a resource i can look into about this? Thanks a lot in advance!
Sponsor
Sponsor
Sponsor
sponsor
McKenzie




PostPosted: Mon Jan 21, 2008 9:22 pm   Post subject: Re: help using JPanel and JList

Here is the place for all the details:
http://java.sun.com/docs/books/tutorial/uiswing/components/list.html
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: