bosc
asked on
Language change in Java
When you use the ColorChooser objekt in Java, the fields are in english, how do you change the text in eg. the label "Recent" or the text that says "Sample text"? Can it be done in generel for JComponents?
ASKER
hmm, okay, where can you find the names of the fields, if you want to do it in generel for JComponents? I cant fint it in the api
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, but where did you find the names of the fields?
ASKER
thanks, just what i needed
"ColorChooser.swatchesRece
ColorChooser.sampleText" = "Sample Text"
So...
You can change it :
UIManager.put("ColorChoose