Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.40 seconds.

  1. Replies
    8
    Views
    3,261

    Re: Timer wont stop...

    Yup, that would make sense. Try popping up a JFrame to keep the program going.
  2. Replies
    8
    Views
    3,261

    Re: Timer wont stop...

    I highly doubt it. You were probably just using an old .class file. Simply cleaning the project in eclipse would have probably done the trick, but you never followed my advice to delete the .class...
  3. Replies
    8
    Views
    3,261

    Re: Timer wont stop...

    That's not an error, it's just a warning, and it's pretty self-explanatory. It should not affect runtime behavior at all.
  4. Replies
    8
    Views
    3,261

    Re: Timer wont stop...

    The Swing Timer works fine. I ran that code, and it runs exactly how I'd expect- it prints "hello" once. Are you sure you're running this code? Try deleting any .class files, recompiling, and trying...
Results 1 to 4 of 4