views:

65

answers:

1

The JFileChooser don't provide support for my language, I'd translate strings defined in the file http://www.rgagnon.com/javadetails/JavaUIDefaults.txt with the UIManager.put(), but I'm not finding the popup strings ("view", "refresh" and "new folder" options when you right-click).

Does anyone know where can I find them to translate?

--update

The FileDialog creates a native dialog, which solves the translation problem, but leads to another question.

--update

Best solution for now: use the system default LAF, so the JFileChooser is system's native dialog and don't need translation. Bad I can't use Nimbus..

+1  A: 

Seems to be sun.swing.FilePane that has the Strings, which are then used by javax.swing.plaf.basic.BasicFileChooserUI.

lins314159
God.. yes it is.. and is a sun's internal class.. :(Maybe is more easy to correct the FileDialog problem (see my update)
Tom Brito