0

Possible Duplicate:
Java color code convert to color name
Java Swing issue - Using color palette

I created a program in JFrame, in that i kept Jcolorchooser window, two textfield and one button.

If i click the button it will open Jcolorchooser, then if select any color it will give hexadecimal value in textfield and color name in another textfield at runtime. But i didn't get color name of the selected JColorChooser.

Community
  • 1
  • 1
arasicode
  • 23
  • 2
  • 6
  • 1
    Possible duplicates : [question 1](http://stackoverflow.com/q/4126029/977676),[question 2](http://stackoverflow.com/q/8544585/977676) – COD3BOY Dec 19 '11 at 07:57
  • 1
    @Ezilarasi only Safe Colors had Names as String, valid for all programing languages, inc Html, not possible to set Names for all (more than 2Mio basic) Colors that exist around us – mKorbel Dec 19 '11 at 08:38
  • 1
    True, you only can get colour names for predefined colours in java api, for the rest, the links given by Sanjay might can help. – nIcE cOw Dec 19 '11 at 08:39

0 Answers0