File chooser internationalization problem
Hello All!
I'm trying to have Armenian texts on Swing components.
Code:
Locale hay = new Locale("hy", "HY");
Locale.setDefault(hay);
UIManager.put("FileChooser.openDialogTitleText", "Բացել");
UIManager.put("FileChooser.saveDialogTitleText", "Պահել");
UIManager.put("FileChooser.lookInLabelText", "Փնտրել");
UIManager.put("FileChooser.saveInLabelText", "Պահել");
UIManager.put("FileChooser.upFolderToolTipText", "Մի Մակարդակ Վերև");
UIManager.put("FileChooser.homeFolderToolTipText", "Աշխատաէկրան");
UIManager.put("FileChooser.newFolderToolTipText", "Ստեղծել Նոր Պանակ");
UIManager.put("FileChooser.listViewButtonToolTipText", "Ցուցակ");
UIManager.put("FileChooser.detailsViewButtonToolTipText", "Մանրամասներ");
UIManager.put("FileChooser.fileNameHeaderText", "Անուն");
UIManager.put("FileChooser.fileSizeHeaderText", "Ծավալ");
UIManager.put("FileChooser.fileTypeHeaderText", "Տեսակ");
UIManager.put("FileChooser.fileDateHeaderText", "Փոփոխման Ամսաթիվ");
UIManager.put("FileChooser.fileAttrHeaderText", "Հատկանիշներ");
UIManager.put("FileChooser.fileNameLabelText", "Նշոցի Անուն");
UIManager.put("FileChooser.filesOfTypeLabelText", "Նշոցների Տեսակներ");
UIManager.put("FileChooser.openButtonText", "Բացել");
UIManager.put("FileChooser.openButtonToolTipText", "Բացել Ընտրված Նշոցը");
UIManager.put("FileChooser.saveButtonText", "Պահել");
UIManager.put("FileChooser.saveButtonToolTipText", "Պահել Ընտրված Նշոցը");
UIManager.put("FileChooser.directoryOpenButtonText", "Պահել");
UIManager.put("FileChooser.directoryOpenButtonToolTipText", "Պահել Ընտրված Նշոցը");
UIManager.put("FileChooser.cancelButtonText", "Դադարեցնել");
UIManager.put("FileChooser.cancelButtonToolTipText", "Դադարեցնել Նշոց Ընտրման Երկխոսության Պատուհանը");
UIManager.put("FileChooser.newFolderErrorText", "Նոր Պահոցի Ստեղծման Սխալ");
UIManager.put("FileChooser.acceptAllFileFilterText", "Բոլոր Նշոցներ");
Only DialogTitleText is working. And if I'm trying to internationalize other Swing components: buttons and so on, the only problem with JFrame title is.
I'm working on WindowsXP, and java version is 1.6.0_17.
Thanks in advance!
Astghik