I
I
IceJOKER2014-10-24 19:23:22
Java
IceJOKER, 2014-10-24 19:23:22

Java jtextfield - can't change input language, how to fix it?

I call - JOptionPane.showInputDialog () - it works fine on my computer - both Russian input and English, but on a virtual machine or on another computer I can only enter Russian letters (language switching does not work), I don’t understand what the problem is.

Tried:

Locale.setDefault(Locale.ENGLISH);
System.setProperty("user.language", "en");

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IceJOKER, 2015-01-26
@IceJOKER

Strange mistake, of course, because. on one computer appeared on the other no, but decided that. that i called the method frame.setVisible(true);before the dialog started

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question