help using JPanel and JList
Author |
Message |
939distrikt
|
Posted: 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! |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
McKenzie
![](http://www.wizards.com/global/images/swtcg_article_27_pic3_en.gif)
|
|
|
|
![](images/spacer.gif) |
|
|