Originally Posted by
Norm
As internal classes.
Why? Classes are cheap and easier.
will do that then, thanks! :3
Originally Posted by
GregBrannon
I'm disappointed and discouraged that you don't know the answer to that question. On the other hand, it's an indication that you need to write 40+ more programs that use ActionListeners from addActionListener( this ) to action listeners as anonymous inner class to creating your own action listener classes that handle specific types of actions before you're ready for this project.
And haven't you seen an 'if' statement before? Odd.
i've read 2 books, and i've seen at least over 200 java tutorials and none have mentioned the "why" is better one to another and how or when to pick the others, etc. everything i've coded so far have always had anonimous classes, that's why i ask D:
and where did you get the "haven't you seen an 'if' statement before?" from? lol
anyways that is why i asked on what was the best way to tackle several dozens of action listeners D: