Search:

Type: Posts; User: snowguy13

Search: Search took 0.07 seconds.

  1. Replies
    10
    Views
    1,775

    Re: Help with actionListener and buttons

    Now that I think about it, I believe it would be beneficial to create separate ActionListeners for your Timer and JButtons. That way, you could avoid some of those wicked if-statements and...
  2. Replies
    10
    Views
    1,775

    Re: Help with actionListener and buttons

    Could you please use the correct tags for your code? Here's the syntax: //your code here

    e.getSource() == t

    First of all, don't use == with objects. Instead, use a try statement, try to cast e...
Results 1 to 2 of 2