dcsimg
Creating a JButton with another Language fonts(letters)
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Paramesh_A
Posted On:   Tuesday, February 6, 2007 12:44 PM

			

Hi to all


I want to create a JButton with a lable which is in other languge .
Is it possible? I Tried to create that but i am getting "???" on my JButton?Give an idea to create
Button with another Language Label

Re: Creating a JButton with another Language fonts(letters)

Posted By:   Stephen_Ostermiller  
Posted On:   Tuesday, March 27, 2007 04:47 AM

It is likely a font issue or a character set issue when you are reading the data in. JButtons should be able to have any language. Make sure that when you load the words to put in the button, you are using proper character sets and escape sequences. If you are storing your strings in .properties fiels, make sure that you are using unicode escape sequences. Also make sure that you have fonts installed and that java knows how to use them. They need to be listed in java's fonts.properties file.
About | Sitemap | Contact