Where for me to drag a java swing string?

JFileChooser does not support my language, I would translate the lines defined in the file http://www.rgagnon.com/javadetails/JavaUIDefaults.txt using UIManager. put (), but I can’t find the pop-up lines (the “view”, “update” and “new folder” options when I right-click).

Does anyone know where I can translate them?

- update

FileDialog creates its own dialog, which solves the problem of translation, but leads to another question .

- update

The best solution at the moment: use the default LAF system, so JFileChooser is a system native dialog box and does not require translation. Bad, I can’t use Nimbus ..

+3
source share
1 answer

It seems to be sun.swing.FilePanethat which has strings that are then used javax.swing.plaf.basic.BasicFileChooserUI.

+1
source

Source: https://habr.com/ru/post/1737443/


All Articles