Java g.setColor not working(SOLVED!!)
Hi,
I'm running Sun's JDK 1.6.0_07 on Slackware 12.1 with all patches and updates applied. I'm trying to get this assignment to work, but I keep receiving errors with my first g.setColor. Quote:
Not Quote:
Quote:
-Joe |
//Removing from zero replies.
Two things: firstly, don't write Java as "JAVA" - it's not an acronym, so shouldn't be capitalised. Secondly, don't assume that the mods will read your post; you will need to report them if you want action taken upon them (this is moot anyway, since LQ doesn't usually delete posts). |
Thank you for your advice, Nylex. I've altered my above post as much as possible to comply.
|
The setColor method is getting outdated, by the way. Nowadays, you'd use g2d and setPaint and you'd find that you gain a lot of flexibility.
|
Hi jay73,
I've been Googling setPaint and g2d online on your recommendation and I see the potential. But, for now I should use the methods demonstrated in class for assignments. Besides, my specialization is going to be networking anyhow :) Thanks, -Joe |
All times are GMT -5. The time now is 07:02 PM. |