pretorian
10-09-2004, 05:27 PM
HOw can I design a class with predefined event handling. Let's say, i have a board game. And every field is a class Field object. I need to design the class in sucha way that the only thing i need to worry about on the Board is to register the field for actionListening and when i actually click on that field the event handling would come from the field itself and not the board. PLEASE HELP ANYONE