Installed locales are :
1:nds
2:ti_ET
3:ta_SG
4:lv
5:en_NU
6:zh_SG_#Hans
7:en_JM
8:kkj
9:es_BO
10:dz_BT
11:dsb_DE
12:en_LR
13:ar_TD
14:cs
15:el
16:af
17:ff_MR_#Latn
18:sw_UG
19:smn
20:tk_TM
21:sr_ME_#Cyrl
22:ar_EG
23:dsb
24:yo_NG
25:se_NO
26:khq
27:vo_001
28:en_PW
29:pl_PL
30:sr_CS
31:ne_IN
32:ji
33:ar_EH
34:bs_BA_#Latn
35:nds_DE
36:nb_SJ
37:es_US
38:en_US_POSIX
39:pt_MO
40:zh__#Hans
41:lb_LU
42:so_KE
43:dje_NE
44:ff_GH_#Latn
45:fr_PM
46:ar_KM
47:no_NO_NY
48:agq_CM
49:teo
50:tr_TR
51:eu
52:ar_MR
53:es_DO
54:ru
55:az
56:fa
57:kl_GL
58:en_NR
59:nd
60:kk
61:hy
62:en_AU
63:en_CY
64:ti_ER
65:nus_SS
66:en_RW
67:ksb
68:luo
69:lb
70:ln_CD
71:nnh_CM
72:no
73:ar_IL
74:mgh
75:or_IN
76:az__#Latn
54:ru
jPanel1.getInputContext().selectInputMethod(new Locale("ru", "RU.UTF8"));
jPanel1.getInputContext().selectInputMethod(new Locale("ru", "ru_RU.UTF8"));
jPanel1.getInputContext().selectInputMethod(new Locale("ru", "ru_RU"));
locale -a
C
C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IL
en_IL.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
POSIX
ru_RU.utf8
ru_UA.utf8