J2ME Screen Keyboard

Saturday, 6 December 2008, 166

Sample J2ME screen keyboard code. No this is not sample touchscreen. This program works with joystick. I written this for one of my friends. Her phone’s keypad’s some keys does not work. And I did a gift. Also you too. :) There are only capital letters, numbers and some chars. There is a text field, she will write to this text field and copy the text. :D


/*
* P3125 www.m-eken.com
*
*/
package hello;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
**
* @author Y
*/
public class HelloMIDlet extends MIDlet implements CommandListener, ItemCommandListener {
private boolean midletPaused = false;

private Command A1;
private Command B1;
private Command Ç1;
private Command D1;
private Command C1;
private Command G1;
private Command Ğ1;
private Command E1;
private Command F1;
private Command J1;
private Command İ1;
private Command I1;
private Command H1;
private Command N1;
private Command M1;
private Command L1;
private Command K1;
private Command R1;
private Command P1;
private Command Ö1;
private Command O1;
private Command U1;
private Command T1;
private Command Ş1;
private Command S1;
private Command NOK1;
private Command BR1;
private Command IKI1;
private Command UC1;
private Command Ü1;
private Command V1;
private Command Y1;
private Command Z1;
private Command SK1;
private Command DK1;
private Command SF;
private Command SOR;
private Command DT1;
private Command BES1;
private Command ALT1;
private Command YD1;
private Command X1;
private Command sil;
private Command UN1;
private Command UST1;
private Command W1;
private Command Q1;
private Command Geri;
private Command exitCommand2;
private Command Hakkında1;
private Command sil3;
private Command Bos1;
private Form form;
private StringItem A;
private StringItem B;
private TextField Metin;
private StringItem C;
private StringItem E;
private StringItem F;
private StringItem Ç;
private StringItem D;
private StringItem H;
private StringItem I;
private StringItem G;
private StringItem Ğ;
private StringItem L;
private StringItem K;
private StringItem J;
private StringItem İ;
private StringItem Ö;
private StringItem O;
private StringItem N;
private StringItem M;
private StringItem Ş;
private StringItem S;
private StringItem R;
private StringItem P;
private StringItem V;
private StringItem Ü;
private StringItem U;
private StringItem T;
private StringItem IKI;
private StringItem UC;
private StringItem DT;
private StringItem BES;
private StringItem Y;
private StringItem Z;
private StringItem NOK;
private StringItem BR;
private StringItem SIFIR;
private StringItem SORU;
private StringItem UST;
private StringItem UN;
private StringItem ALT;
private StringItem YD;
private StringItem SK;
private StringItem DK;
private StringItem W;
private StringItem Q;
private StringItem X;
private StringItem stringItem4;
private StringItem sil2;
private StringItem Bos;
private Form form1;
private StringItem stringItem1;

public HelloMIDlet() {
}

private void initialize() {
// write pre-initialize user code here

// write post-initialize user code here
}
//

//
/**
* Performs an action assigned to the Mobile Device - MIDlet Started point.
*/
public void startMIDlet() {
// write pre-action user code here
switchDisplayable(null, getForm());
// write post-action user code here
}
//

//
/**
* Performs an action assigned to the Mobile Device - MIDlet Resumed point.
*/
public void resumeMIDlet() {
// write pre-action user code here

// write post-action user code here
}
//

//
/**
* Switches a current displayable in a display. The display instance is taken from getDisplay method. This method is used by all actions in the design for switching displayable.
* @param alert the Alert which is temporarily set to the display; if null, then nextDisplayable is set immediately
* @param nextDisplayable the Displayable to be set
*/
public void switchDisplayable(Alert alert, Displayable nextDisplayable) {
// write pre-switch user code here
Display display = getDisplay();
if (alert == null) {
display.setCurrent(nextDisplayable);
} else {
display.setCurrent(alert, nextDisplayable);
}
// write post-switch user code here
}
//

//
/**
* Returns an initiliazed instance of form component.
* @return the initialized component instance
*/
public Form getForm() {
if (form == null) {
// write pre-init user code here
form = new Form("EKRAN KLAVYES\u0130", new Item[] { getA(), getB(), getC(), getÇ(), getD(), getE(), getF(), getG(), getĞ(), getH(), getI(), getİ(), getJ(), getK(), getL(), getM(), getN(), getO(), getÖ(), getP(), getQ(), getR(), getS(), getŞ(), getT(), getU(), getÜ(), getV(), getW(), getX(), getY(), getZ(), getBos(), getSil2(), getNOK(), getBR(), getIKI(), getUC(), getDT(), getBES(), getALT(), getYD(), getSK(), getDK(), getSIFIR(), getSORU(), getUST(), getUN(), getMetin(), getStringItem4() });
form.addCommand(getSil());
form.addCommand(getExitCommand2());
form.setCommandListener(this);
// write post-init user code here
}
return form;
}
//

//
/**
* Returns an initiliazed instance of A component.
* @return the initialized component instance
*/
public StringItem getA() {
if (A == null) {
// write pre-init user code here
A = new StringItem("", "A", Item.HYPERLINK);
A.addCommand(getA1());
A.setItemCommandListener(this);
A.setDefaultCommand(getA1());
A.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return A;
}
//

//
/**
* Returns an initiliazed instance of B component.
* @return the initialized component instance
*/
public StringItem getB() {
if (B == null) {
// write pre-init user code here
B = new StringItem("", "B", Item.HYPERLINK);
B.addCommand(getB1());
B.setItemCommandListener(this);
B.setDefaultCommand(getB1());
B.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return B;
}
//

//
/**
* Returns an initiliazed instance of Metin component.
* @return the initialized component instance
*/
public TextField getMetin() {
if (Metin == null) {
// write pre-init user code here
Metin = new TextField("", null, 1000, TextField.ANY);
Metin.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return Metin;
}
//

//
/**
* Called by a system to indicated that a command has been invoked on a particular displayable.
* @param command the Command that was invoked
* @param displayable the Displayable where the command was invoked
*/
public void commandAction(Command command, Displayable displayable) {
// write pre-action user code here
if (displayable == form) {
if (command == exitCommand2) {
// write pre-action user code here
exitMIDlet();
// write post-action user code here
} else if (command == sil) {
Metin.setString(Metin.getString().substring(0, Metin.getString().length()-1));

// write post-action user code here
}
} else if (displayable == form1) {
if (command == Geri) {
// write pre-action user code here
switchDisplayable(null, getForm());
// write post-action user code here
}
}
// write post-action user code here
}
//

//
/**
* Called by a system to indicated that a command has been invoked on a particular item.
* @param command the Command that was invoked
* @param displayable the Item where the command was invoked
*/
public void commandAction(Command command, Item item) {
// write pre-action user code here
if (item == A) {
if (command == A1) {
Metin.setString(Metin.getString()+"A");

// write post-action user code here
}
} else if (item == ALT) {
if (command == ALT1) {
Metin.setString(Metin.getString()+"6");

// write post-action user code here
}
} else if (item == B) {
if (command == B1) {
Metin.setString(Metin.getString()+"B");

// write post-action user code here
}
} else if (item == BES) {
if (command == BES1) {
Metin.setString(Metin.getString()+"5");

// write post-action user code here
}
} else if (item == BR) {
if (command == BR1) {
Metin.setString(Metin.getString()+"1");

// write post-action user code here
}
} else if (item == Bos) {
if (command == Bos1) {
Metin.setString(Metin.getString()+" "+""); // write pre-action user code here

// write post-action user code here
}
} else if (item == C) {
if (command == C1) {
Metin.setString(Metin.getString()+"C");

// write post-action user code here
}
} else if (item == D) {
if (command == D1) {
Metin.setString(Metin.getString()+"D");

// write post-action user code here
}
} else if (item == DK) {
if (command == DK1) {
Metin.setString(Metin.getString()+"9"); // write pre-action user code here

// write post-action user code here
}
} else if (item == DT) {
if (command == DT1) {
Metin.setString(Metin.getString()+"4"); // write pre-action user code here

// write post-action user code here
}
} else if (item == E) {
if (command == E1) {
Metin.setString(Metin.getString()+"E"); // write pre-action user code here

// write post-action user code here
}
} else if (item == F) {
if (command == F1) {
Metin.setString(Metin.getString()+"F"); // write pre-action user code here

// write post-action user code here
}
} else if (item == G) {
if (command == G1) {
Metin.setString(Metin.getString()+"G"); // write pre-action user code here

// write post-action user code here
}
} else if (item == H) {
if (command == H1) {
Metin.setString(Metin.getString()+"H"); // write pre-action user code here

// write post-action user code here
}
} else if (item == I) {
if (command == I1) {
Metin.setString(Metin.getString()+"I"); // write pre-action user code here

// write post-action user code here
}
} else if (item == IKI) {
if (command == IKI1) {
Metin.setString(Metin.getString()+"2"); // write pre-action user code here

// write post-action user code here
}
} else if (item == J) {
if (command == J1) {
Metin.setString(Metin.getString()+"J"); // write pre-action user code here

// write post-action user code here
}
} else if (item == K) {
if (command == K1) {
Metin.setString(Metin.getString()+"K"); // write pre-action user code here

// write post-action user code here
}
} else if (item == L) {
if (command == L1) {
Metin.setString(Metin.getString()+"L"); // write pre-action user code here

// write post-action user code here
}
} else if (item == M) {
if (command == M1) {
Metin.setString(Metin.getString()+"M"); // write pre-action user code here

// write post-action user code here
}
} else if (item == N) {
if (command == N1) {
Metin.setString(Metin.getString()+"N"); // write pre-action user code here

// write post-action user code here
}
} else if (item == NOK) {
if (command == NOK1) {
Metin.setString(Metin.getString()+"."); // write pre-action user code here

// write post-action user code here
}
} else if (item == O) {
if (command == O1) {
Metin.setString(Metin.getString()+"O"); // write pre-action user code here

// write post-action user code here
}
} else if (item == P) {
if (command == P1) {
Metin.setString(Metin.getString()+"P"); // write pre-action user code here

// write post-action user code here
}
} else if (item == Q) {
if (command == Q1) {
Metin.setString(Metin.getString()+"Q"); // write pre-action user code here

// write post-action user code here
}
} else if (item == R) {
if (command == R1) {
Metin.setString(Metin.getString()+"R"); // write pre-action user code here

// write post-action user code here
}
} else if (item == S) {
if (command == S1) {
Metin.setString(Metin.getString()+"S"); // write pre-action user code here

// write post-action user code here
}
} else if (item == SIFIR) {
if (command == SF) {
Metin.setString(Metin.getString()+"0"); // write pre-action user code here

// write post-action user code here
}
} else if (item == SK) {
if (command == SK1) {
Metin.setString(Metin.getString()+"8"); // write pre-action user code here

// write post-action user code here
}
} else if (item == SORU) {
if (command == SOR) {
Metin.setString(Metin.getString()+"?"); // write pre-action user code here

// write post-action user code here
}
} else if (item == T) {
if (command == T1) {
Metin.setString(Metin.getString()+"T"); // write pre-action user code here

// write post-action user code here
}
} else if (item == U) {
if (command == U1) {
Metin.setString(Metin.getString()+"U"); // write pre-action user code here

// write post-action user code here
}
} else if (item == UC) {
if (command == UC1) {
Metin.setString(Metin.getString()+"3"); // write pre-action user code here

// write post-action user code here
}
} else if (item == UN) {
if (command == UN1) {
Metin.setString(Metin.getString()+"!"); // write pre-action user code here

// write post-action user code here
}
} else if (item == UST) {
if (command == UST1) {
Metin.setString(Metin.getString()+"'"); // write pre-action user code here

// write post-action user code here
}
} else if (item == V) {
if (command == V1) {
Metin.setString(Metin.getString()+"V"); // write pre-action user code here

// write post-action user code here
}
} else if (item == W) {
if (command == W1) {
Metin.setString(Metin.getString()+"W"); // write pre-action user code here

// write post-action user code here
}
} else if (item == X) {
if (command == X1) {
Metin.setString(Metin.getString()+"X"); // write pre-action user code here

// write post-action user code here
}
} else if (item == Y) {
if (command == Y1) {
Metin.setString(Metin.getString()+"Y"); // write pre-action user code here

// write post-action user code here
}
} else if (item == YD) {
if (command == YD1) {
Metin.setString(Metin.getString()+"7"); // write pre-action user code here

// write post-action user code here
}
} else if (item == Z) {
if (command == Z1) {
Metin.setString(Metin.getString()+"Z"); // write pre-action user code here

// write post-action user code here
}
} else if (item == sil2) {
if (command == sil3) {
Metin.setString(Metin.getString().substring(0, Metin.getString().length()-1)); // write pre-action user code here

// write post-action user code here
}
} else if (item == stringItem4) {
if (command == Hakkında1) {
// write pre-action user code here
switchDisplayable(null, getForm1());
// write post-action user code here
}
} else if (item == Ç) {
if (command == Ç1) {
Metin.setString(Metin.getString()+"Ç"); // write pre-action user code here

// write post-action user code here
}
} else if (item == Ö) {
if (command == Ö1) {
Metin.setString(Metin.getString()+"Ö");// write pre-action user code here

// write post-action user code here
}
} else if (item == Ü) {
if (command == Ü1) {
Metin.setString(Metin.getString()+"Ü"); // write pre-action user code here

// write post-action user code here
}
} else if (item == Ğ) {
if (command == Ğ1) {
Metin.setString(Metin.getString()+"Ğ"); // write pre-action user code here

// write post-action user code here
}
} else if (item == İ) {
if (command == İ1) {
Metin.setString(Metin.getString()+"İ"); // write pre-action user code here

// write post-action user code here
}
} else if (item == Ş) {
if (command == Ş1) {
Metin.setString(Metin.getString()+"Ş"); // write pre-action user code here

// write post-action user code here
}
}
// write post-action user code here
}
//

//
/**
* Returns an initiliazed instance of A1 component.
* @return the initialized component instance
*/
public Command getA1() {
if (A1 == null) {
// write pre-init user code here
A1 = new Command("A", Command.SCREEN, 0);
// write post-init user code here
}
return A1;
}
//

//
/**
* Returns an initiliazed instance of B1 component.
* @return the initialized component instance
*/
public Command getB1() {
if (B1 == null) {
// write pre-init user code here
B1 = new Command("B", Command.OK, 0);
// write post-init user code here
}
return B1;
}
//

//
/**
* Returns an initiliazed instance of C component.
* @return the initialized component instance
*/
public StringItem getC() {
if (C == null) {
// write pre-init user code here
C = new StringItem("", "C", Item.HYPERLINK);
C.addCommand(getC1());
C.setItemCommandListener(this);
C.setDefaultCommand(getC1());
C.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return C;
}
//

//
/**
* Returns an initiliazed instance of Ç component.
* @return the initialized component instance
*/
public StringItem getÇ() {
if (Ç == null) {
// write pre-init user code here
Ç = new StringItem("", "\u00C7", Item.HYPERLINK);
Ç.addCommand(getÇ1());
Ç.setItemCommandListener(this);
Ç.setDefaultCommand(getÇ1());
Ç.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return Ç;
}
//

//
/**
* Returns an initiliazed instance of D component.
* @return the initialized component instance
*/
public StringItem getD() {
if (D == null) {
// write pre-init user code here
D = new StringItem("", "D", Item.HYPERLINK);
D.addCommand(getD1());
D.setItemCommandListener(this);
D.setDefaultCommand(getD1());
D.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return D;
}
//

//
/**
* Returns an initiliazed instance of E component.
* @return the initialized component instance
*/
public StringItem getE() {
if (E == null) {
// write pre-init user code here
E = new StringItem("", "E", Item.HYPERLINK);
E.addCommand(getE1());
E.setItemCommandListener(this);
E.setDefaultCommand(getE1());
E.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return E;
}
//

//
/**
* Returns an initiliazed instance of F component.
* @return the initialized component instance
*/
public StringItem getF() {
if (F == null) {
// write pre-init user code here
F = new StringItem("", "F", Item.HYPERLINK);
F.addCommand(getF1());
F.setItemCommandListener(this);
F.setDefaultCommand(getF1());
F.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return F;
}
//

//
/**
* Returns an initiliazed instance of G component.
* @return the initialized component instance
*/
public StringItem getG() {
if (G == null) {
// write pre-init user code here
G = new StringItem("", "G", Item.HYPERLINK);
G.addCommand(getG1());
G.setItemCommandListener(this);
G.setDefaultCommand(getG1());
G.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return G;
}
//

//
/**
* Returns an initiliazed instance of Ğ component.
* @return the initialized component instance
*/
public StringItem getĞ() {
if (Ğ == null) {
// write pre-init user code here
Ğ = new StringItem("", "\u011E", Item.HYPERLINK);
Ğ.addCommand(getĞ1());
Ğ.setItemCommandListener(this);
Ğ.setDefaultCommand(getĞ1());
Ğ.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return Ğ;
}
//

//
/**
* Returns an initiliazed instance of H component.
* @return the initialized component instance
*/
public StringItem getH() {
if (H == null) {
// write pre-init user code here
H = new StringItem("", "H", Item.HYPERLINK);
H.addCommand(getH1());
H.setItemCommandListener(this);
H.setDefaultCommand(getH1());
H.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return H;
}
//

//
/**
* Returns an initiliazed instance of I component.
* @return the initialized component instance
*/
public StringItem getI() {
if (I == null) {
// write pre-init user code here
I = new StringItem("", "I", Item.HYPERLINK);
I.addCommand(getI1());
I.setItemCommandListener(this);
I.setDefaultCommand(getI1());
I.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return I;
}
//

//
/**
* Returns an initiliazed instance of İ component.
* @return the initialized component instance
*/
public StringItem getİ() {
if (İ == null) {
// write pre-init user code here
İ = new StringItem("", "\u0130", Item.HYPERLINK);
İ.addCommand(getİ1());
İ.setItemCommandListener(this);
İ.setDefaultCommand(getİ1());
İ.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return İ;
}
//

//
/**
* Returns an initiliazed instance of J component.
* @return the initialized component instance
*/
public StringItem getJ() {
if (J == null) {
// write pre-init user code here
J = new StringItem("", "J", Item.HYPERLINK);
J.addCommand(getJ1());
J.setItemCommandListener(this);
J.setDefaultCommand(getJ1());
J.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return J;
}
//

//
/**
* Returns an initiliazed instance of K component.
* @return the initialized component instance
*/
public StringItem getK() {
if (K == null) {
// write pre-init user code here
K = new StringItem("", "K", Item.HYPERLINK);
K.addCommand(getK1());
K.setItemCommandListener(this);
K.setDefaultCommand(getK1());
K.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return K;
}
//

//
/**
* Returns an initiliazed instance of L component.
* @return the initialized component instance
*/
public StringItem getL() {
if (L == null) {
// write pre-init user code here
L = new StringItem("", "L", Item.HYPERLINK);
L.addCommand(getL1());
L.setItemCommandListener(this);
L.setDefaultCommand(getL1());
L.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return L;
}
//

//
/**
* Returns an initiliazed instance of M component.
* @return the initialized component instance
*/
public StringItem getM() {
if (M == null) {
// write pre-init user code here
M = new StringItem("", "M", Item.HYPERLINK);
M.addCommand(getM1());
M.setItemCommandListener(this);
M.setDefaultCommand(getM1());
M.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return M;
}
//

//
/**
* Returns an initiliazed instance of N component.
* @return the initialized component instance
*/
public StringItem getN() {
if (N == null) {
// write pre-init user code here
N = new StringItem("", "N", Item.HYPERLINK);
N.addCommand(getN1());
N.setItemCommandListener(this);
N.setDefaultCommand(getN1());
N.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return N;
}
//

//
/**
* Returns an initiliazed instance of O component.
* @return the initialized component instance
*/
public StringItem getO() {
if (O == null) {
// write pre-init user code here
O = new StringItem("", "O", Item.HYPERLINK);
O.addCommand(getO1());
O.setItemCommandListener(this);
O.setDefaultCommand(getO1());
O.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return O;
}
//

//
/**
* Returns an initiliazed instance of Ö component.
* @return the initialized component instance
*/
public StringItem getÖ() {
if (Ö == null) {
// write pre-init user code here
Ö = new StringItem("", "\u00D6", Item.HYPERLINK);
Ö.addCommand(getÖ1());
Ö.setItemCommandListener(this);
Ö.setDefaultCommand(getÖ1());
Ö.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return Ö;
}
//

//
/**
* Returns an initiliazed instance of P component.
* @return the initialized component instance
*/
public StringItem getP() {
if (P == null) {
// write pre-init user code here
P = new StringItem("", "P", Item.HYPERLINK);
P.addCommand(getP1());
P.setItemCommandListener(this);
P.setDefaultCommand(getP1());
P.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return P;
}
//

//
/**
* Returns an initiliazed instance of R component.
* @return the initialized component instance
*/
public StringItem getR() {
if (R == null) {
// write pre-init user code here
R = new StringItem("", "R", Item.HYPERLINK);
R.addCommand(getR1());
R.setItemCommandListener(this);
R.setDefaultCommand(getR1());
R.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return R;
}
//

//
/**
* Returns an initiliazed instance of S component.
* @return the initialized component instance
*/
public StringItem getS() {
if (S == null) {
// write pre-init user code here
S = new StringItem("", "S", Item.HYPERLINK);
S.addCommand(getS1());
S.setItemCommandListener(this);
S.setDefaultCommand(getS1());
S.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return S;
}
//

//
/**
* Returns an initiliazed instance of Ş component.
* @return the initialized component instance
*/
public StringItem getŞ() {
if (Ş == null) {
// write pre-init user code here
Ş = new StringItem("", "\u015E", Item.HYPERLINK);
Ş.addCommand(getŞ1());
Ş.setItemCommandListener(this);
Ş.setDefaultCommand(getŞ1());
Ş.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return Ş;
}
//

//
/**
* Returns an initiliazed instance of T component.
* @return the initialized component instance
*/
public StringItem getT() {
if (T == null) {
// write pre-init user code here
T = new StringItem("", "T", Item.HYPERLINK);
T.addCommand(getT1());
T.setItemCommandListener(this);
T.setDefaultCommand(getT1());
T.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return T;
}
//

//
/**
* Returns an initiliazed instance of U component.
* @return the initialized component instance
*/
public StringItem getU() {
if (U == null) {
// write pre-init user code here
U = new StringItem("", "U", Item.HYPERLINK);
U.addCommand(getU1());
U.setItemCommandListener(this);
U.setDefaultCommand(getU1());
U.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return U;
}
//

//
/**
* Returns an initiliazed instance of Ü component.
* @return the initialized component instance
*/
public StringItem getÜ() {
if (Ü == null) {
// write pre-init user code here
Ü = new StringItem("", "\u00DC", Item.HYPERLINK);
Ü.addCommand(getÜ1());
Ü.setItemCommandListener(this);
Ü.setDefaultCommand(getÜ1());
Ü.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return Ü;
}
//

//
/**
* Returns an initiliazed instance of V component.
* @return the initialized component instance
*/
public StringItem getV() {
if (V == null) {
// write pre-init user code here
V = new StringItem("", "V", Item.HYPERLINK);
V.addCommand(getV1());
V.setItemCommandListener(this);
V.setDefaultCommand(getV1());
V.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return V;
}
//

//
/**
* Returns an initiliazed instance of Y component.
* @return the initialized component instance
*/
public StringItem getY() {
if (Y == null) {
// write pre-init user code here
Y = new StringItem("", "Y", Item.HYPERLINK);
Y.addCommand(getY1());
Y.setItemCommandListener(this);
Y.setDefaultCommand(getY1());
Y.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return Y;
}
//

//
/**
* Returns an initiliazed instance of Z component.
* @return the initialized component instance
*/
public StringItem getZ() {
if (Z == null) {
// write pre-init user code here
Z = new StringItem("", "Z", Item.HYPERLINK);
Z.addCommand(getZ1());
Z.setItemCommandListener(this);
Z.setDefaultCommand(getZ1());
Z.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return Z;
}
//

//
/**
* Returns an initiliazed instance of NOK component.
* @return the initialized component instance
*/
public StringItem getNOK() {
if (NOK == null) {
// write pre-init user code here
NOK = new StringItem("", ".", Item.HYPERLINK);
NOK.addCommand(getNOK1());
NOK.setItemCommandListener(this);
NOK.setDefaultCommand(getNOK1());
NOK.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return NOK;
}
//

//
/**
* Returns an initiliazed instance of BR component.
* @return the initialized component instance
*/
public StringItem getBR() {
if (BR == null) {
// write pre-init user code here
BR = new StringItem("", "1", Item.HYPERLINK);
BR.addCommand(getBR1());
BR.setItemCommandListener(this);
BR.setDefaultCommand(getBR1());
BR.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return BR;
}
//

//
/**
* Returns an initiliazed instance of IKI component.
* @return the initialized component instance
*/
public StringItem getIKI() {
if (IKI == null) {
// write pre-init user code here
IKI = new StringItem("", "2", Item.HYPERLINK);
IKI.addCommand(getIKI1());
IKI.setItemCommandListener(this);
IKI.setDefaultCommand(getIKI1());
IKI.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return IKI;
}
//

//
/**
* Returns an initiliazed instance of UC component.
* @return the initialized component instance
*/
public StringItem getUC() {
if (UC == null) {
// write pre-init user code here
UC = new StringItem("", "3", Item.HYPERLINK);
UC.addCommand(getUC1());
UC.setItemCommandListener(this);
UC.setDefaultCommand(getUC1());
UC.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return UC;
}
//

//
/**
* Returns an initiliazed instance of DT component.
* @return the initialized component instance
*/
public StringItem getDT() {
if (DT == null) {
// write pre-init user code here
DT = new StringItem("", "4", Item.HYPERLINK);
DT.addCommand(getDT1());
DT.setItemCommandListener(this);
DT.setDefaultCommand(getDT1());
DT.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return DT;
}
//

//
/**
* Returns an initiliazed instance of BES component.
* @return the initialized component instance
*/
public StringItem getBES() {
if (BES == null) {
// write pre-init user code here
BES = new StringItem("", "5", Item.HYPERLINK);
BES.addCommand(getBES1());
BES.setItemCommandListener(this);
BES.setDefaultCommand(getBES1());
BES.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return BES;
}
//

//
/**
* Returns an initiliazed instance of ALT component.
* @return the initialized component instance
*/
public StringItem getALT() {
if (ALT == null) {
// write pre-init user code here
ALT = new StringItem("", "6", Item.HYPERLINK);
ALT.addCommand(getALT1());
ALT.setItemCommandListener(this);
ALT.setDefaultCommand(getALT1());
ALT.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return ALT;
}
//

//
/**
* Returns an initiliazed instance of YD component.
* @return the initialized component instance
*/
public StringItem getYD() {
if (YD == null) {
// write pre-init user code here
YD = new StringItem("", "7", Item.HYPERLINK);
YD.addCommand(getYD1());
YD.setItemCommandListener(this);
YD.setDefaultCommand(getYD1());
YD.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return YD;
}
//

//
/**
* Returns an initiliazed instance of SK component.
* @return the initialized component instance
*/
public StringItem getSK() {
if (SK == null) {
// write pre-init user code here
SK = new StringItem("", "8", Item.HYPERLINK);
SK.addCommand(getSK1());
SK.setItemCommandListener(this);
SK.setDefaultCommand(getSK1());
SK.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return SK;
}
//

//
/**
* Returns an initiliazed instance of DK component.
* @return the initialized component instance
*/
public StringItem getDK() {
if (DK == null) {
// write pre-init user code here
DK = new StringItem("", "9", Item.HYPERLINK);
DK.addCommand(getDK1());
DK.setItemCommandListener(this);
DK.setDefaultCommand(getDK1());
DK.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return DK;
}
//

//
/**
* Returns an initiliazed instance of SIFIR component.
* @return the initialized component instance
*/
public StringItem getSIFIR() {
if (SIFIR == null) {
// write pre-init user code here
SIFIR = new StringItem("", "0", Item.HYPERLINK);
SIFIR.addCommand(getSF());
SIFIR.setItemCommandListener(this);
SIFIR.setDefaultCommand(getSF());
SIFIR.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return SIFIR;
}
//

//
/**
* Returns an initiliazed instance of SORU component.
* @return the initialized component instance
*/
public StringItem getSORU() {
if (SORU == null) {
// write pre-init user code here
SORU = new StringItem("", "?", Item.HYPERLINK);
SORU.addCommand(getSOR());
SORU.setItemCommandListener(this);
SORU.setDefaultCommand(getSOR());
SORU.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return SORU;
}
//

//
/**
* Returns an initiliazed instance of UST component.
* @return the initialized component instance
*/
public StringItem getUST() {
if (UST == null) {
// write pre-init user code here
UST = new StringItem("", "\'", Item.HYPERLINK);
UST.addCommand(getUST1());
UST.setItemCommandListener(this);
UST.setDefaultCommand(getUST1());
UST.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return UST;
}
//

//
/**
* Returns an initiliazed instance of UN component.
* @return the initialized component instance
*/
public StringItem getUN() {
if (UN == null) {
// write pre-init user code here
UN = new StringItem("", "!", Item.HYPERLINK);
UN.addCommand(getUN1());
UN.setItemCommandListener(this);
UN.setDefaultCommand(getUN1());
UN.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return UN;
}
//

//
/**
* Returns an initiliazed instance of Q component.
* @return the initialized component instance
*/
public StringItem getQ() {
if (Q == null) {
// write pre-init user code here
Q = new StringItem("", "Q", Item.HYPERLINK);
Q.addCommand(getQ1());
Q.setItemCommandListener(this);
Q.setDefaultCommand(getQ1());
Q.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return Q;
}
//

//
/**
* Returns an initiliazed instance of W component.
* @return the initialized component instance
*/
public StringItem getW() {
if (W == null) {
// write pre-init user code here
W = new StringItem("", "W", Item.HYPERLINK);
W.addCommand(getW1());
W.setItemCommandListener(this);
W.setDefaultCommand(getW1());
W.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return W;
}
//

//
/**
* Returns an initiliazed instance of X component.
* @return the initialized component instance
*/
public StringItem getX() {
if (X == null) {
// write pre-init user code here
X = new StringItem("", "X", Item.HYPERLINK);
X.addCommand(getX1());
X.setItemCommandListener(this);
X.setDefaultCommand(getX1());
X.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return X;
}
//

//
/**
* Returns an initiliazed instance of C1 component.
* @return the initialized component instance
*/
public Command getC1() {
if (C1 == null) {
// write pre-init user code here
C1 = new Command("C", Command.OK, 0);
// write post-init user code here
}
return C1;
}
//

//
/**
* Returns an initiliazed instance of Ç1 component.
* @return the initialized component instance
*/
public Command getÇ1() {
if (Ç1 == null) {
// write pre-init user code here
Ç1 = new Command("\u00C7", Command.OK, 0);
// write post-init user code here
}
return Ç1;
}
//

//
/**
* Returns an initiliazed instance of D1 component.
* @return the initialized component instance
*/
public Command getD1() {
if (D1 == null) {
// write pre-init user code here
D1 = new Command("D", Command.OK, 0);
// write post-init user code here
}
return D1;
}
//

//
/**
* Returns an initiliazed instance of E1 component.
* @return the initialized component instance
*/
public Command getE1() {
if (E1 == null) {
// write pre-init user code here
E1 = new Command("E", Command.OK, 0);
// write post-init user code here
}
return E1;
}
//

//
/**
* Returns an initiliazed instance of F1 component.
* @return the initialized component instance
*/
public Command getF1() {
if (F1 == null) {
// write pre-init user code here
F1 = new Command("F", Command.OK, 0);
// write post-init user code here
}
return F1;
}
//

//
/**
* Returns an initiliazed instance of G1 component.
* @return the initialized component instance
*/
public Command getG1() {
if (G1 == null) {
// write pre-init user code here
G1 = new Command("G", Command.OK, 0);
// write post-init user code here
}
return G1;
}
//

//
/**
* Returns an initiliazed instance of Ğ1 component.
* @return the initialized component instance
*/
public Command getĞ1() {
if (Ğ1 == null) {
// write pre-init user code here
Ğ1 = new Command("\u011E", Command.OK, 0);
// write post-init user code here
}
return Ğ1;
}
//

//
/**
* Returns an initiliazed instance of H1 component.
* @return the initialized component instance
*/
public Command getH1() {
if (H1 == null) {
// write pre-init user code here
H1 = new Command("H", Command.OK, 0);
// write post-init user code here
}
return H1;
}
//

//
/**
* Returns an initiliazed instance of I1 component.
* @return the initialized component instance
*/
public Command getI1() {
if (I1 == null) {
// write pre-init user code here
I1 = new Command("I", Command.OK, 0);
// write post-init user code here
}
return I1;
}
//

//
/**
* Returns an initiliazed instance of İ1 component.
* @return the initialized component instance
*/
public Command getİ1() {
if (İ1 == null) {
// write pre-init user code here
İ1 = new Command("\u0130", Command.OK, 0);
// write post-init user code here
}
return İ1;
}
//

//
/**
* Returns an initiliazed instance of J1 component.
* @return the initialized component instance
*/
public Command getJ1() {
if (J1 == null) {
// write pre-init user code here
J1 = new Command("J", Command.OK, 0);
// write post-init user code here
}
return J1;
}
//

//
/**
* Returns an initiliazed instance of K1 component.
* @return the initialized component instance
*/
public Command getK1() {
if (K1 == null) {
// write pre-init user code here
K1 = new Command("K", Command.OK, 0);
// write post-init user code here
}
return K1;
}
//

//
/**
* Returns an initiliazed instance of L1 component.
* @return the initialized component instance
*/
public Command getL1() {
if (L1 == null) {
// write pre-init user code here
L1 = new Command("L", Command.OK, 0);
// write post-init user code here
}
return L1;
}
//

//
/**
* Returns an initiliazed instance of M1 component.
* @return the initialized component instance
*/
public Command getM1() {
if (M1 == null) {
// write pre-init user code here
M1 = new Command("M", Command.OK, 0);
// write post-init user code here
}
return M1;
}
//

//
/**
* Returns an initiliazed instance of N1 component.
* @return the initialized component instance
*/
public Command getN1() {
if (N1 == null) {
// write pre-init user code here
N1 = new Command("N", Command.OK, 0);
// write post-init user code here
}
return N1;
}
//

//
/**
* Returns an initiliazed instance of O1 component.
* @return the initialized component instance
*/
public Command getO1() {
if (O1 == null) {
// write pre-init user code here
O1 = new Command("O", Command.OK, 0);
// write post-init user code here
}
return O1;
}
//

//
/**
* Returns an initiliazed instance of Ö1 component.
* @return the initialized component instance
*/
public Command getÖ1() {
if (Ö1 == null) {
// write pre-init user code here
Ö1 = new Command("\u00D6", Command.OK, 0);
// write post-init user code here
}
return Ö1;
}
//

//
/**
* Returns an initiliazed instance of P1 component.
* @return the initialized component instance
*/
public Command getP1() {
if (P1 == null) {
// write pre-init user code here
P1 = new Command("P", Command.OK, 0);
// write post-init user code here
}
return P1;
}
//

//
/**
* Returns an initiliazed instance of R1 component.
* @return the initialized component instance
*/
public Command getR1() {
if (R1 == null) {
// write pre-init user code here
R1 = new Command("R", Command.OK, 0);
// write post-init user code here
}
return R1;
}
//

//
/**
* Returns an initiliazed instance of S1 component.
* @return the initialized component instance
*/
public Command getS1() {
if (S1 == null) {
// write pre-init user code here
S1 = new Command("S", Command.OK, 0);
// write post-init user code here
}
return S1;
}
//

//
/**
* Returns an initiliazed instance of Ş1 component.
* @return the initialized component instance
*/
public Command getŞ1() {
if (Ş1 == null) {
// write pre-init user code here
Ş1 = new Command("\u015E", Command.OK, 0);
// write post-init user code here
}
return Ş1;
}
//

//
/**
* Returns an initiliazed instance of T1 component.
* @return the initialized component instance
*/
public Command getT1() {
if (T1 == null) {
// write pre-init user code here
T1 = new Command("T", Command.OK, 0);
// write post-init user code here
}
return T1;
}
//

//
/**
* Returns an initiliazed instance of U1 component.
* @return the initialized component instance
*/
public Command getU1() {
if (U1 == null) {
// write pre-init user code here
U1 = new Command("U", Command.OK, 0);
// write post-init user code here
}
return U1;
}
//

//
/**
* Returns an initiliazed instance of Ü1 component.
* @return the initialized component instance
*/
public Command getÜ1() {
if (Ü1 == null) {
// write pre-init user code here
Ü1 = new Command("\u00DC", Command.OK, 0);
// write post-init user code here
}
return Ü1;
}
//

//
/**
* Returns an initiliazed instance of V1 component.
* @return the initialized component instance
*/
public Command getV1() {
if (V1 == null) {
// write pre-init user code here
V1 = new Command("V", Command.OK, 0);
// write post-init user code here
}
return V1;
}
//

//
/**
* Returns an initiliazed instance of Y1 component.
* @return the initialized component instance
*/
public Command getY1() {
if (Y1 == null) {
// write pre-init user code here
Y1 = new Command("Y", Command.OK, 0);
// write post-init user code here
}
return Y1;
}
//

//
/**
* Returns an initiliazed instance of Z1 component.
* @return the initialized component instance
*/
public Command getZ1() {
if (Z1 == null) {
// write pre-init user code here
Z1 = new Command("Z", Command.OK, 0);
// write post-init user code here
}
return Z1;
}
//

//
/**
* Returns an initiliazed instance of NOK1 component.
* @return the initialized component instance
*/
public Command getNOK1() {
if (NOK1 == null) {
// write pre-init user code here
NOK1 = new Command(".", Command.OK, 0);
// write post-init user code here
}
return NOK1;
}
//

//
/**
* Returns an initiliazed instance of BR1 component.
* @return the initialized component instance
*/
public Command getBR1() {
if (BR1 == null) {
// write pre-init user code here
BR1 = new Command("1", Command.OK, 0);
// write post-init user code here
}
return BR1;
}
//

//
/**
* Returns an initiliazed instance of IKI1 component.
* @return the initialized component instance
*/
public Command getIKI1() {
if (IKI1 == null) {
// write pre-init user code here
IKI1 = new Command("2", Command.OK, 0);
// write post-init user code here
}
return IKI1;
}
//

//
/**
* Returns an initiliazed instance of UC1 component.
* @return the initialized component instance
*/
public Command getUC1() {
if (UC1 == null) {
// write pre-init user code here
UC1 = new Command("3", Command.OK, 0);
// write post-init user code here
}
return UC1;
}
//

//
/**
* Returns an initiliazed instance of DT1 component.
* @return the initialized component instance
*/
public Command getDT1() {
if (DT1 == null) {
// write pre-init user code here
DT1 = new Command("4", Command.OK, 0);
// write post-init user code here
}
return DT1;
}
//

//
/**
* Returns an initiliazed instance of BES1 component.
* @return the initialized component instance
*/
public Command getBES1() {
if (BES1 == null) {
// write pre-init user code here
BES1 = new Command("5", Command.OK, 0);
// write post-init user code here
}
return BES1;
}
//

//
/**
* Returns an initiliazed instance of ALT1 component.
* @return the initialized component instance
*/
public Command getALT1() {
if (ALT1 == null) {
// write pre-init user code here
ALT1 = new Command("6", Command.OK, 0);
// write post-init user code here
}
return ALT1;
}
//

//
/**
* Returns an initiliazed instance of YD1 component.
* @return the initialized component instance
*/
public Command getYD1() {
if (YD1 == null) {
// write pre-init user code here
YD1 = new Command("7", Command.OK, 0);
// write post-init user code here
}
return YD1;
}
//

//
/**
* Returns an initiliazed instance of SK1 component.
* @return the initialized component instance
*/
public Command getSK1() {
if (SK1 == null) {
// write pre-init user code here
SK1 = new Command("8", Command.OK, 0);
// write post-init user code here
}
return SK1;
}
//

//
/**
* Returns an initiliazed instance of DK1 component.
* @return the initialized component instance
*/
public Command getDK1() {
if (DK1 == null) {
// write pre-init user code here
DK1 = new Command("9", Command.OK, 0);
// write post-init user code here
}
return DK1;
}
//

//
/**
* Returns an initiliazed instance of SF component.
* @return the initialized component instance
*/
public Command getSF() {
if (SF == null) {
// write pre-init user code here
SF = new Command("0", Command.OK, 0);
// write post-init user code here
}
return SF;
}
//

//
/**
* Returns an initiliazed instance of SOR component.
* @return the initialized component instance
*/
public Command getSOR() {
if (SOR == null) {
// write pre-init user code here
SOR = new Command("?", Command.OK, 0);
// write post-init user code here
}
return SOR;
}
//

//
/**
* Returns an initiliazed instance of UST1 component.
* @return the initialized component instance
*/
public Command getUST1() {
if (UST1 == null) {
// write pre-init user code here
UST1 = new Command("\'", Command.OK, 0);
// write post-init user code here
}
return UST1;
}
//

//
/**
* Returns an initiliazed instance of UN1 component.
* @return the initialized component instance
*/
public Command getUN1() {
if (UN1 == null) {
// write pre-init user code here
UN1 = new Command("!", Command.OK, 0);
// write post-init user code here
}
return UN1;
}
//

//
/**
* Returns an initiliazed instance of Q1 component.
* @return the initialized component instance
*/
public Command getQ1() {
if (Q1 == null) {
// write pre-init user code here
Q1 = new Command("Q", Command.OK, 0);
// write post-init user code here
}
return Q1;
}
//

//
/**
* Returns an initiliazed instance of W1 component.
* @return the initialized component instance
*/
public Command getW1() {
if (W1 == null) {
// write pre-init user code here
W1 = new Command("W", Command.OK, 0);
// write post-init user code here
}
return W1;
}
//

//
/**
* Returns an initiliazed instance of X1 component.
* @return the initialized component instance
*/
public Command getX1() {
if (X1 == null) {
// write pre-init user code here
X1 = new Command("X", Command.OK, 0);
// write post-init user code here
}
return X1;
}
//

//
/**
* Returns an initiliazed instance of form1 component.
* @return the initialized component instance
*/
public Form getForm1() {
if (form1 == null) {
// write pre-init user code here
form1 = new Form("Hakk\u0131nda", new Item[] { getStringItem1() });
form1.addCommand(getGeri());
form1.setCommandListener(this);
// write post-init user code here
}
return form1;
}
//

//
/**
* Returns an initiliazed instance of Geri component.
* @return the initialized component instance
*/
public Command getGeri() {
if (Geri == null) {
// write pre-init user code here
Geri = new Command("Geri", Command.OK, 0);
// write post-init user code here
}
return Geri;
}
//

//
/**
* Returns an initiliazed instance of stringItem1 component.
* @return the initialized component instance
*/
public StringItem getStringItem1() {
if (stringItem1 == null) {
// write pre-init user code here
stringItem1 = new StringItem("", "m-eken.com");
stringItem1.setLayout(ImageItem.LAYOUT_CENTER);
// write post-init user code here
}
return stringItem1;
}
//

//
/**
* Returns an initiliazed instance of stringItem4 component.
* @return the initialized component instance
*/
public StringItem getStringItem4() {
if (stringItem4 == null) {
// write pre-init user code here
stringItem4 = new StringItem("", "Hakk\u0131nda", Item.HYPERLINK);
stringItem4.addCommand(getHakkında1());
stringItem4.setItemCommandListener(this);
stringItem4.setDefaultCommand(getHakkında1());
// write post-init user code here
}
return stringItem4;
}
//

//
/**
* Returns an initiliazed instance of Hakkında1 component.
* @return the initialized component instance
*/
public Command getHakkında1() {
if (Hakkında1 == null) {
// write pre-init user code here
Hakkında1 = new Command("Hakk\u0131nda", Command.OK, 0);
// write post-init user code here
}
return Hakkında1;
}
//

//
/**
* Returns an initiliazed instance of sil component.
* @return the initialized component instance
*/
public Command getSil() {
if (sil == null) {
// write pre-init user code here
sil = new Command("Sil", "Sil", Command.EXIT, 0);
// write post-init user code here
}
return sil;
}
//

//
/**
* Returns an initiliazed instance of exitCommand2 component.
* @return the initialized component instance
*/
public Command getExitCommand2() {
if (exitCommand2 == null) {
// write pre-init user code here
exitCommand2 = new Command("\u00C7\u0131k", Command.EXIT, 0);
// write post-init user code here
}
return exitCommand2;
}
//

//
/**
* Returns an initiliazed instance of Bos1 component.
* @return the initialized component instance
*/
public Command getBos1() {
if (Bos1 == null) {
// write pre-init user code here
Bos1 = new Command("Space", Command.OK, 0);
// write post-init user code here
}
return Bos1;
}
//

//
/**
* Returns an initiliazed instance of Bos component.
* @return the initialized component instance
*/
public StringItem getBos() {
if (Bos == null) {
// write pre-init user code here
Bos = new StringItem("", "_", Item.HYPERLINK);
Bos.addCommand(getBos1());
Bos.setItemCommandListener(this);
Bos.setDefaultCommand(getBos1());
// write post-init user code here
}
return Bos;
}
//

//
/**
* Returns an initiliazed instance of sil3 component.
* @return the initialized component instance
*/
public Command getSil3() {
if (sil3 == null) {
// write pre-init user code here
sil3 = new Command("Sil", Command.OK, 0);
// write post-init user code here
}
return sil3;
}
//

//
/**
* Returns an initiliazed instance of sil2 component.
* @return the initialized component instance
*/
public StringItem getSil2() {
if (sil2 == null) {
// write pre-init user code here
sil2 = new StringItem("", "<-", Item.HYPERLINK);
sil2.addCommand(getSil3());
sil2.setItemCommandListener(this);
sil2.setDefaultCommand(getSil3());
sil2.setLayout(ImageItem.LAYOUT_LEFT);
// write post-init user code here
}
return sil2;
}
//

/**
* Returns a display instance.
* @return the display instance.
*/
public Display getDisplay () {
return Display.getDisplay(this);
}

/**
* Exits MIDlet.
*/
public void exitMIDlet() {
switchDisplayable (null, null);
destroyApp(true);
notifyDestroyed();
}

/**
* Called when MIDlet is started.
* Checks whether the MIDlet have been already started and initialize/starts or resumes the MIDlet.
*/
public void startApp() {
if (midletPaused) {
resumeMIDlet ();
} else {
initialize ();
startMIDlet ();
}
midletPaused = false;
}

/**
* Called when MIDlet is paused.
*/
public void pauseApp() {
midletPaused = true;
}

/**
* Called to signal the MIDlet to terminate.
* @param unconditional if true, then the MIDlet has to be unconditionally terminated and all resources has to be released.
*/
public void destroyApp(boolean unconditional) {
}

}

Download NetBeans project: P3125

The .jar and .jad (P3125.jar and P3125.jad) files in the ..\P3125\dist\ directory.


Leave a comment
Name(required)
Mail (will not be publishing) (required)
Website