I have an application (already designed for android and blackberry) that i need to deploy to J2ME
devices. I had already started in LWUIT before discovering CN1 and deciding to use it.
My issues are three fold (FOR NOW):
a) How can i make a "Command" appear on the screen?...
tried this with netbeans..."public void start() {
if(current != null){
current.show();
Command change2 = new Command("View Dialog") {
public void actionPerformed(ActionEvent ev) {
//mode = SideMenuMode.BOTH_SIDES;
Dialog.show("Both","Dialog","ok",null);
}
};
current.addCommand(change2);"
.....it compiled....but did not display the "View Dialog"..command.
b) How can i center a label?...
tried this in LWUIT..."label.setTextPosition(Label.CENTER);.....DID NOT WORK.
c)How to change font color and size of a label's text?
..I read that this has to do with the UUID..but in the GUI Builder in NETBEANS...i did not see any options for this.(and for the other questions asked above).
My apologies for these "naive" questions...i am coming from Android where all i had to do was use an XML file.
Willing to learn, just need a few pointers. Thanks.