writing virtual keyboard class.problem with involving diferent language.
I'm new in Java programing.
I'm making virtual keyboard class.I want to use it for any language.
For now it's work for my language (Croatian) if I involve in the button like:jButton26.setText("?);
or:jButton26.setText("\u0111");
In that case I could do it if I make class for any diferent language.
or using key code:
int code?=93; char char?=(char)code? String letter?= ""+char?
jButton?setText(letter?toLowerCase());
This way works for english letter but if I want involve for example Croatian language on the button this code don't work.
I use this method for getting value:
int keyCode = e.getKeyCode();
System.out.println("key code " + keyCode);
But this not work for Croatian.For Croatian letter I get value 0.
For example for ? key code 0
Please can you help me or sugest what is best way to resolve problem.

