0

I have a JTexArea in a frame and i want to show chinese characters. My application shows perfectly other languajes like russian, spanish,... but I have problems with chinese. Jlabels, Jbuttons and other components works perfectly in chinese but in my texArea I get only squares

My JTextArea:

textArea = new JTextArea();
textArea.setAutoscrolls(false);
textArea.setFont(new Font("Tahoma", textArea.getFont().getStyle(), 11)); 
scrollPane.setViewportView(textArea);

I append text:

Application.textArea.append(Messages.getString("myKey1") +"\n");

Any Idea? Thanks.

mKorbel
  • 109,525
  • 20
  • 134
  • 319
gopeca
  • 1,601
  • 12
  • 12

0 Answers0