Not an answer, as your code works well as it is. Please try your environment.
For me, it works flawlessly out of the box with the default font in Windows 7. Java JDK1.8.0_31
public class JTextFieldExample extends JFrame {
private static final long serialVersionUID = 1L;
public JTextFieldExample() {
super("TextField Test Demo");
final Container container = getContentPane();
final JTextField textField=new JTextField("hello \u05DD\u05D5\u05DC\u05E9 Hello \u05DD\u05D5\u05DC\u05E9");
textField.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
container.add(textField);
setSize(300,100);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true);
}
public static void main(final String args[]) {
new JTextFieldExample();
}
}
JTextField, :
hello םולש םולש
( , - . unicode , , "" ).
, .
, - .
, RTL , , , , .
:
- , JTextField ? , , , - .
- , . , , . \-es
- hexa. , , - Unicode.