I posted about this project at 6ish AM, and I got some really good advice! I am nearly finished with the project now, and I wanted to ask for help with three quick, distinct issues. Help with any of them would be great.
-
I wanted it to happen so that whenever I pressed a certain button (The "generate" button) my program would change the graphics on screen, including the stats in the JLabels. I found out through a println that the ActionListener i set up is being entered and things are being changed, but the graphics already up aren't changing. My code is a mess, but I'm gonna shove it in the thread.
-
Essentially, I set up an infinite loop on purpose in the program so that it would continuously cycle over and over again until it was closed. I thought the "frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);" line i set up would close the window, but it isn't; any tips for what to do instead to make something run forever until the button is repressed or the app is closed? (also, any solution that makes it go slower would also be very cool)