I'm having an urgent issue concerning the refresh of the JLists. Been looking for some days, didn't found and forget to search further >< and now I'm in a hurry with it.
I'll try to explain it in detail:
- I open a Java frame1 and a JList is shown. Jlist is feed by a string array that is read from disk.
- I open a new frame2 which is created by frame1
- I add new element to the string array that feeds the JList in frame2. Element is saved in a file disk.
- I close the frame2. I'm again in frame1.
Then my question is, there's any method or way to refresh the jframe1 JList in order to show the new element added?
Thanks in advance, if you need a more detailled description of the steps I'll post it.