Search:

Type: Posts; User: copeg

Search: Search took 0.11 seconds.

  1. [SOLVED] Re: ActionListener: use two bottuns with getSource() doesn't work

    Posting the rest of that code sheds much light on the problem. The issue lies in your creation of the two buttons:



    /********** 2 button ******************/
    JButton click_1 = new...
  2. [SOLVED] Re: ActionListener: use two bottuns with getSource() doesn't work

    Can you post the full code that reproduces the problem? The code you posted doesn't seem like it should behave as you describe, making me think the problem lies outside of the code you posted.
Results 1 to 2 of 2