I have looked and could not find a library that would deal with problem of licalizating the swing component data.
Thus, I decided to create my own and make it public...
Only problem is that I don't really know where the language strings are contained...
If anyone would be so nice to tell me where to look in src folder, I'd be more than happy to create a library that would work something like this:
libraryClassName.JFileChooser.setJFileChooserStringValue(string);
Swing is mentioned in com/sun/java folder, and it's in javax folder too. There are many classes that include the names of swing components per component (JFileChooser.java, FileChooserUI.java, BasicFileChooserUI.java, MetalFileChooserUI.java, MultiFileChooserUI.java, FileChooserPainter.java, etc) and many more general classes that may or may not contain string vaules needed for localization.
I guess, when string values for one component are found, all the others should be in corresponding location.
So, if you help me with this, I'll make a library that will ease the sufferings of so many programmers that are trying to translate their programs...
IMPORTANT EDIT: Is the JFileChooser the only swing component that has predefined strings in it?