How to create class that will display chinese language.
Hi guys,
I am new with J2ME and I am task to create a class that will convert static text menus from English to Chinese or vice-versa.
I would like to create an option for language settings乧then if I choose Chinese all the static menus and submenus will be displayed in Chinese Font. I am using the J2ME wireless toolkit v2.2乧Your help would be much appreciated乧Thanks in advance
Back-岪
CANCEL-庢徚
OK-旤岲
HELP-暻彆
and etc
...I tried the example below but only square is seen on the screen.
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
public class SimpleUnicodeTest extends MIDlet {
Display display;
Form form = null;
StringItem msg = null;
public SimpleUnicodeTest() {
msg = new StringItem("'Hello World' in Simplified Chinese","\u4F60\u597D\u4E16\u754C");
form = new Form("Unicode Test");
form.append(msg);
}
public void startApp() {
display = Display.getDisplay(this);
display.setCurrent(form);
}
public void pauseApp() {}
public void destroyApp(boolean unconditional) {}
}
Thanks,
psyeu

