Search:

Type: Posts; User: helloworld922

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    4,554

    Re: Question about ActionListener

    You want to be careful if you do that... the parent class doesn't necessarily have to implement ActionListener. Also, you have a totally unrelated class that may want to listen to that class's action...
  2. Replies
    6
    Views
    4,554

    Re: Question about ActionListener

    Personally, I don't see anything wrong with that style-wise.
  3. Replies
    6
    Views
    4,554

    Re: Question about ActionListener

    What you mean by having 20 or so listeners? I'm not sure what Java's behavior is if you add a single object multiple times to the same object that's sending out ActionEvents, but I know that's...
Results 1 to 3 of 3