my dog learned polymorphism*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "getColor() and setColor()" Watch "getColor() and setColor()" New topic

getColor() and setColor()

Duc Nguy

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 ?
jQuery in Action, 2nd edition
subject: getColor() and setColor()