Search:

Type: Posts; User: Junky

Search: Search took 0.12 seconds.

  1. Replies
    10
    Views
    1,995

    Re: ActionListener help

    A solution is not to put any code into the actionPerfomed method other than a call to another method in the enclosing class. This method should have access to everything you need. Something like...
    ...
  2. Replies
    10
    Views
    1,995

    Re: ActionListener help

    CheckedTime callStart = new CheckedTime.fromString(startTime);

    Using the new keyword means that you are creating a new object on that line. But your fromString method is creating and returning the...
  3. Replies
    10
    Views
    1,995

    Re: ActionListener help

    Two choices.

    Do as the error message says and make the variable final (the textfield not the string)
    Make the textfield an instance variable and not local to whatever constructor/method you are...
Results 1 to 3 of 3