Mix of Arabic and English causes problems in JTextArea (Java)

Posted by Dan on Stack Overflow See other posts from Stack Overflow or by Dan
Published on 2008-11-25T14:55:00Z Indexed on 2010/04/13 23:03 UTC
Read the original article Hit count: 304

Filed under:
|
|
|

I have a JTextArea which displays HTML of an Arabic web page. So it's essentially a mix of English and Arabic. In the JTextArea, with columns set to 30, certain text just disappears instead of wrapping properly. The weird thing is that if I copy the invisible text and paste it into Notepad, then I can see it in Notepad. If I change the number of columns to 40, everything displays fine. Any ideas?

© Stack Overflow or respective owner

Related posts about java

Related posts about swing