Changing the language of a filechooser java

85 Views Asked by At

I'm doing a program that requests that I change the names on the labels of my filechooser in java I have tried multiple ways with no results. I want to switch the language to spanish that's why I can't use Locale

Found this code online but don't know how to implement it: UIManager.put("FileChooser.openDialogTitleText","your text here"); SwingUtilities.updateComponentTreeUI(rootComponent);

0

There are 0 best solutions below