Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Replies
    8
    Views
    1,719

    Re: Problem with Animation and Button Action

    If calling the run method works as you want it to, change the actionPerformed method to start a new Thread that calls the run method.
    The problem with calling the run method directly in the...
  2. Replies
    8
    Views
    1,719

    Re: Problem with Animation and Button Action

    The formatted code is easier to read.
    The first thing I see is that your code in the actionPerformed takes a long time to execute. Any code you execute in an listener should be do its job quickly...
  3. Replies
    8
    Views
    1,719

    Re: Problem with Animation and Button Action

    Your code is still unformatted. There are no indentions at each {} pair.
    Your posted code is still all start in the left most column. It should look something like this:


    static void...
  4. Replies
    8
    Views
    1,719

    Re: Problem with Animation and Button Action

    Please edit your post and wrap the code in code tags.
    See: BB Code List - Java Programming Forums - The Java Community

    Unformatted code is hard to read and understand.
Results 1 to 4 of 4