Search:

Type: Posts; User: Norm

Search: Search took 0.08 seconds.

  1. Replies
    3
    Views
    1,533

    Re: Cannot get buttons working in GUI program

    Its a local variable that will NOT have a value when the method it is defined in exits. When the listener method is called the variable will have no value.
    What value do you want the listener to...
  2. Replies
    3
    Views
    1,533

    Re: Cannot get buttons working in GUI program

    Did you try what was recommended in the error message: needs to be declared final
    Define the variables as final.
Results 1 to 2 of 2