Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
It is sorta covered in the
JavaRanch Style Guide
subject: Creating Color object using color name as String
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?
Concept of new!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013