Add a listener for a component for its being resized. In the listener's method call the method you want called.
Add a println() statement to print out a message so you will know when a method...
Type: Posts; User: Norm
Add a listener for a component for its being resized. In the listener's method call the method you want called.
Add a println() statement to print out a message so you will know when a method...
Is that method called AFTER the counts have been assigned values?
To see what the code sets the text to, print out what the method returns. Add this statement right after the above posted code:
...
yes. The code needs to be changed to get rid of all the static items (except the main() method)
That method builds a String but does NOT do anything to show that String in the GUI.
After the...
Commented out missing class references.
Where does the code set the text to be shown in the GUI after the counts have been set?
BTW The count variables should not be static. Use the reference...