
-----------------------------------
iluvchairs112
Sat Jun 09, 2007 3:32 pm

colour variable
-----------------------------------
okay so i've made a class that draws a blue circle and a red square when imported into the application (it extends JComponent)
now i want to make it so that the colours are variables and i can choose the colour of the circle and the square within the application instead of the class.
how would i do that? i've tried just playing around with it but nothing seems to work, I'm always getting errors
