Search:

Type: Posts; User: jm24

Search: Search took 0.07 seconds.

  1. Replies
    10
    Views
    1,768

    Re: Help with actionListener and buttons

    Alright well thanks for the help anyway. I'll try to figure this out lol.
  2. Replies
    10
    Views
    1,768

    Re: Help with actionListener and buttons

    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
  3. Replies
    10
    Views
    1,768

    Re: Help with actionListener and buttons

    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...
  4. Replies
    10
    Views
    1,768

    Re: Help with actionListener and buttons

    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...
  5. Replies
    10
    Views
    1,768

    Help with actionListener and buttons

    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...
Results 1 to 5 of 5