Search:

Type: Posts; User: snowguy13

Search: Search took 0.07 seconds.

  1. Replies
    7
    Views
    1,530

    [SOLVED] Re: I need help with gui.

    Yeah, you're welcome! Glad I could help! :)
  2. Replies
    7
    Views
    1,530

    [SOLVED] Re: I need help with gui.

    Yeah. If you define the JButton outside the main method, you can still access it in the main method, and your ActionListener can get to it as well. :D
  3. Replies
    7
    Views
    1,530

    [SOLVED] Re: I need help with gui.

    Oh! I see what you mean. Okay. Well, think about this: if you define a variable or Component in the main method, that is the only place from which it can be accessed. So what's the simplest way to...
  4. Replies
    7
    Views
    1,530

    [SOLVED] Re: I need help with gui.

    What error are you getting (can you paste it/them here)? Also, is this PHP, or Java (the code said PHP above it...)?

    Another thing: why is your ActionListener class (me) extending your GUI's class...
Results 1 to 4 of 4