Alright well thanks for the help anyway. I'll try to figure this out lol.
Type: Posts; User: jm24
Alright well thanks for the help anyway. I'll try to figure this out lol.
No the name of my main class is MoleMain but yea I get that last line every time I export it into a runnable jar file and try to run it
I would but I'm not really sure how to do that lol. And yea I was almost sure it was ok to use == as long as I wasn't messing around with aliases or anything like that but idk.
EDIT: Oh ok I get...
So wait, I can have two different actionListeners within the same class? (sorry I'm a bit of a noob lol) Also if you could show me an example of the way you're saying to use casting with the try...
Ok so basically I want this program to change the text of a random JButton out of the 9 on the panel every 5 seconds (I have a timer firing with intervals of 5 seconds) to "mole" and then wait 5...