This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm having problems to update a JList, the numerical values that are in the JList are variables of other classes, and I would like that when I alter the value of these variables in other classes, and pressed the button "Refresh" in class FrameTeste the data in the JList would be updated according to the changes I made in the other classes, I created an example of two different classes of variables with different values and a class that is the frame, it has a JList and button "Refresh",
when I change the value of variables that belong to OtherClass1 and OtherClass2 and press the refresh button in the Frame class, I would like the values to be updated JList, I've tried everything, but without success. Thank you guys.