display unicode in applet
1 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Tuesday, April 16, 2002 09:37 AM

hello to all,

i want to display the true mathematical sign for 'not equal' or 'lesser or equal'. and i found them in the unicode table (u2260, u2264). i now want to display them on a JToggleButton in an applet (i do NOT want to edit some properties file). obviously the display screws up, otherwise i wouldn't be posting :-) i'm using jdk 1.2 and i'll stick to it because i have to support the java plugin 1.2.
does anybody know how to handle this? i thought java supports unicode, but how?

thanX in advance

Re: display unicode in applet

Posted By:   tomas_hudik  
Posted On:   Friday, May 24, 2002 04:04 AM

I think it is the same like in another swing componets:

JToggleButton togBut = new JToggleButton("u2260u2264");

I dont know if it work in jdk1.2 but in 1.4 it work fine.
About | Sitemap | Contact