colour variable
Author |
Message |
iluvchairs112
|
Posted: Sat Jun 09, 2007 3:32 pm Post subject: 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 |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
|
|