Hi,
I created a "TransportBar" class that inherits the Component class to hold some TextButtons. I then gave it a function to disable all the buttons.
In MainComponent I created a TransportBar object and at the end of the constructor for MainComponent, I run the function to disable the buttons. Some quick test code shows me that at this point, the buttons are indeed disabled so everything works so far.
By the time the program gets around to calling paint() on my MainComponent though, the buttons have been enabled somehow.
So when the application opens, the buttons are enabled instead of being disabled.
What could possibly be enabling the buttons in my TransportBar object?
Thanks in advance