It's not a secret anymore!*
The moose likes Beginning Java and the fly likes getColor() and setColor() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "getColor() and setColor()" Watch "getColor() and setColor()" New topic
Author

getColor() and setColor()

Duc Nguy
Greenhorn

Joined: Nov 12, 2001
Posts: 7
Can someone please explain what these methods do and an eample of how to use or set it up.
Colin Kenworthy
Ranch Hand

Joined: Aug 06, 2001
Posts: 88
There are 8 classes with a getColor() method - can you be more specific. Are you referring to the Graphics class ?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: getColor() and setColor()