JTextPane hangs with Thai character
After inserting thai characters into JTextPane the applications hangs.
I am not sure what makes it hang.
We are using getDocument().insertString(...) API. After call to this API our application hangs.
Is this a known issue?
Any help in this regards will be highly appreciated!
# 1
All AWT widgets are peer components that rely on the Operating System widget抯 functions. To display Thai characters on AWT components, Java application must run on Thai Operating System (e.g. Windows Thai). This is limitation of Thai text rendering on AWT components.
See this article:
http://www-306.ibm.com/software/globalization/topics/jdk_thai/rendering.jsp