This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Constructors and colours 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 » Swing / AWT / SWT
Bookmark "Constructors and colours" Watch "Constructors and colours" New topic
Author

Constructors and colours

Sam Bluesman
Ranch Hand

Joined: Nov 21, 2004
Posts: 191
How do i make the constructor for a class take an argument that sets a colour of an object.


Moosey knows best
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
 
 
subject: Constructors and colours
 
Similar Threads
Encapsulation, coupling and cohesion
yet not clear about what is the actual use of enumerated types ?
WA #1.....word association
22 Nov Riddle
Default constructor