Problem is sorted now. I was changing the colour but not repainting the component. I have added the extra line and it is fine now.
Thanks for the help!
Type: Posts; User: wdh
Problem is sorted now. I was changing the colour but not repainting the component. I have added the extra line and it is fine now.
Thanks for the help!
Ok this is my new circleComponent. I think it is working to some extent. When i drag it onto my frame the colour changes. But still when i press the JButton it does not change.
package...
I have a few questions, i am sure they all have simple answers but i just cant seem to get them working right now.
First problem. I have a circle class, i then have a CircleBeanComponent that i add...