I have a simple swing application. When i set a thai text to a JLabel or other components they shows question mark like characters instead of thai text.
Is there anything to do to support thai language in swing applications?
I have a simple swing application. When i set a thai text to a JLabel or other components they shows question mark like characters instead of thai text.
Is there anything to do to support thai language in swing applications?
There is not a special function or configuration to do. Be sure that your font supports thai characters.
When i met same problem, component font was set to calibri. After changing it to sansserif it worked.
But i don't know any other font that supports thai, i just found it with brute force tries.