Hello all, I am going through the Head first
java book and doing the section on Gui's.
The following code is suppose to make a window with two buttons, a label and a colored circle. The bottom button is supposed to change the color of the circle, and it does.
The East button is suppose to change the west text, and it does. My problem is the east button also changes the color of the circle as well.
I can't figure out whats causing this to happen, though I suspect it is something to do with the calls to the inner classes, my LabelListener is also calling the ColorListener.