Search:

Type: Posts; User: Norm

Search: Search took 0.24 seconds.

  1. Replies
    11
    Views
    1,868

    Re: addActionListener to JButton

    Mark this as solved then.
  2. Replies
    11
    Views
    1,868

    Re: addActionListener to JButton

    I was asking for a program that will compile, execute and show the problem. Without that I can't say what is happening.
  3. Replies
    11
    Views
    1,868

    Re: addActionListener to JButton

    The this variable can be used in any non static method in a class.

    You need to make a small, complete program that compiles, executes and shows the problem. There small pieces of code that you've...
  4. Replies
    11
    Views
    1,868

    Re: addActionListener to JButton

    If the listener called OK now, what is the code in the listener method supposed to do?


    What is the problem now?
  5. Replies
    11
    Views
    1,868

    Re: addActionListener to JButton

    Add a println statement to the listener method that prints a message when it is called and also prints out the value of e
    so you can see if it is executed and what the contents of the event object...
  6. Replies
    11
    Views
    1,868

    Re: addActionListener to JButton

    Please explain what "doesn't work"means.
    Copy the full text of any error messages and paste it here,
Results 1 to 6 of 6