A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Swing / AWT / SWT
Creating Color object using color name as String
Joined: Jul 05, 2011
Jun 27, 2013 04:13:44
Hi, Can we create a Color object using color name as
Joined: May 03, 2008
Jun 27, 2013 08:26:58
Not with the standard Java SE API, no. But you can easily write a method that accepts a String parameter and returns a Color.
There are no new questions, but there may be new answers.
I agree. Here's the link:
subject: Creating Color object using color name as String
Concept of new!
Is there any means to check the number of objects created when a java prgram runs.
How we can find that how much string objects has been created?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014