/* * HelloMidlet.java * * Created on 17 février 2006, 22:27 */ package hello; import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import javax.microedition.io.*; import java.io.*; import java.util.*; import java.lang.Math; /** * * @author tarik */ public Midlet extends MIDlet implements CommandListener, ItemStateListener { // Public Instance Methods public void itemStateChanged(Item item) { if(item == choiceGroup2) { if (reponse1 == choiceGroup2.getSelectedIndex()){ num = num + 4; } } else { if(item == choiceGroup3) { if (reponse2 == choiceGroup3.getSelectedIndex()){ num = num + 4; } } else { if(item == choiceGroup4) { if (reponse3 == choiceGroup4.getSelectedIndex()){ num = num + 4; } } else if(item == choiceGroup7) { if (reponse4 == choiceGroup7.getSelectedIndex()){ num = num + 4; } } else if(item == choiceGroup6) { if (reponse5 == choiceGroup6.getSelectedIndex()){ num = num + 4; }} } }} /** Creates a new instance of HelloMidlet */ public Midlet() { } private int reponse1 = 1; private int reponse2 = 0; private int reponse3 = 2; private int reponse4 = 1; private int reponse5 = 0; private int num = 0; private Form Acceuil;//GEN-BEGIN:MVDFields private StringItem helloStringItem; private Command exitCommand; private Form Introdution; private Ticker ticker1; private Spacer spacer1; private StringItem stringItem1; private Command okCommand1; private Command okCommand2; private Form Question1; private Form Question2; private Form Question3; private Ticker ticker2; private Form Question4; private Form Question5; private Form Score; private Form Bye; private Command okCommand3; private Command okCommand4; private Ticker ticker3; private Command okCommand5; private Command okCommand6; private Ticker ticker4; private Command okCommand7; private Ticker ticker5; private Command okCommand8; private Ticker ticker6; private Ticker ticker7; private Command okCommand9; private Ticker ticker8; private Command okCommand10; private Command okCommand11; private Command exitCommand1; private Spacer spacer2; private Spacer spacer3; private Spacer spacer4; private Spacer spacer5; private Spacer spacer6; private Spacer spacer7; private Spacer spacer8; private Spacer spacer9; private Spacer spacer10; private StringItem stringItem2; private StringItem stringItem3; private Font font1; private Font font2; private ChoiceGroup choiceGroup2; private StringItem stringItem4; private Font font3; private ChoiceGroup choiceGroup3; private Command exitCommand2; private Command exitCommand3; private Command exitCommand4; private Command exitCommand5; private Command exitCommand6; private StringItem stringItem5; private StringItem stringItem6; private Ticker ticker9; private Spacer spacer11; private Spacer spacer12; private StringItem stringItem7; private Font font4; private StringItem stringItem8; private ChoiceGroup choiceGroup4; private ChoiceGroup choiceGroup5; private StringItem stringItem9; private ChoiceGroup choiceGroup6; private StringItem stringItem10; private ChoiceGroup choiceGroup7;//GEN-END:MVDFields //GEN-LINE:MVDMethods /** This method initializes UI of the application.//GEN-BEGIN:MVDInitBegin */ private void initialize() {//GEN-END:MVDInitBegin // Insert pre-init code here Question1 = new Form(null, new Item[] {//GEN-BEGIN:MVDInitInit get_spacer3(), get_stringItem3(), get_choiceGroup2() }); Question1.addCommand(get_okCommand4()); Question1.addCommand(get_exitCommand2()); Question1.setCommandListener(this); Question1.setTicker(get_ticker3()); getDisplay().setCurrent(get_Acceuil());//GEN-END:MVDInitInit Question1.setItemStateListener(this); itemStateChanged(choiceGroup2); }//GEN-LINE:MVDInitEnd /** Called by the system to indicate that a command has been invoked on a particular displayable.//GEN-BEGIN:MVDCABegin * @param command the Command that ws invoked * @param displayable the Displayable on which the command was invoked */ public void commandAction(Command command, Displayable displayable) {//GEN-END:MVDCABegin // Insert global pre-action code here if (displayable == Acceuil) {//GEN-BEGIN:MVDCABody if (command == exitCommand) {//GEN-END:MVDCABody // Insert pre-action code here exitMIDlet();//GEN-LINE:MVDCAAction3 // Insert post-action code here } else if (command == okCommand2) {//GEN-LINE:MVDCACase3 // Insert pre-action code here getDisplay().setCurrent(get_Introdution());//GEN-LINE:MVDCAAction13 // Insert post-action code here }//GEN-BEGIN:MVDCACase13 } else if (displayable == Question2) { if (command == okCommand6) {//GEN-END:MVDCACase13 // Insert pre-action code here getDisplay().setCurrent(get_Question3());//GEN-LINE:MVDCAAction30 // Insert post-action code here } else if (command == exitCommand3) {//GEN-LINE:MVDCACase30 // Insert pre-action code here getDisplay().setCurrent(get_Bye());//GEN-LINE:MVDCAAction76 // Insert post-action code here }//GEN-BEGIN:MVDCACase76 } else if (displayable == Question1) { if (command == okCommand5) {//GEN-END:MVDCACase76 // Insert pre-action code here // Do nothing//GEN-LINE:MVDCAAction28 // Insert post-action code here } else if (command == okCommand4) {//GEN-LINE:MVDCACase28 // Insert pre-action code here getDisplay().setCurrent(get_Question2());//GEN-LINE:MVDCAAction25 // Insert post-action code here } else if (command == exitCommand2) {//GEN-LINE:MVDCACase25 // Insert pre-action code here getDisplay().setCurrent(get_Bye());//GEN-LINE:MVDCAAction74 // Insert post-action code here }//GEN-BEGIN:MVDCACase74 } else if (displayable == Introdution) { if (command == okCommand3) {//GEN-END:MVDCACase74 // Insert pre-action code here getDisplay().setCurrent(Question1);//GEN-LINE:MVDCAAction23 // Insert post-action code here }//GEN-BEGIN:MVDCACase23 } else if (displayable == Question4) { if (command == okCommand8) {//GEN-END:MVDCACase23 // Insert pre-action code here getDisplay().setCurrent(get_Question5());//GEN-LINE:MVDCAAction36 // Insert post-action code here } else if (command == exitCommand5) {//GEN-LINE:MVDCACase36 // Insert pre-action code here getDisplay().setCurrent(get_Bye());//GEN-LINE:MVDCAAction80 // Insert post-action code here }//GEN-BEGIN:MVDCACase80 } else if (displayable == Score) { if (command == okCommand10) {//GEN-END:MVDCACase80 // Insert pre-action code here getDisplay().setCurrent(get_Bye());//GEN-LINE:MVDCAAction43 // Insert post-action code here }//GEN-BEGIN:MVDCACase43 } else if (displayable == Question3) { if (command == okCommand7) {//GEN-END:MVDCACase43 // Insert pre-action code here getDisplay().setCurrent(get_Question4());//GEN-LINE:MVDCAAction33 // Insert post-action code here } else if (command == exitCommand4) {//GEN-LINE:MVDCACase33 // Insert pre-action code here getDisplay().setCurrent(get_Bye());//GEN-LINE:MVDCAAction78 // Insert post-action code here }//GEN-BEGIN:MVDCACase78 } else if (displayable == Question5) { if (command == okCommand9) {//GEN-END:MVDCACase78 // Insert pre-action code here getDisplay().setCurrent(get_Score());//GEN-LINE:MVDCAAction40 // Insert post-action code here } else if (command == exitCommand6) {//GEN-LINE:MVDCACase40 // Insert pre-action code here getDisplay().setCurrent(get_Bye());//GEN-LINE:MVDCAAction85 // Insert post-action code here }//GEN-BEGIN:MVDCACase85 } else if (displayable == Bye) { if (command == exitCommand1) {//GEN-END:MVDCACase85 // Insert pre-action code here exitMIDlet();//GEN-LINE:MVDCAAction47 // Insert post-action code here } else if (command == okCommand11) {//GEN-LINE:MVDCACase47 // Insert pre-action code here // Do nothing//GEN-LINE:MVDCAAction45 // Insert post-action code here }//GEN-BEGIN:MVDCACase45 }//GEN-END:MVDCACase45 // Insert global post-action code here }//GEN-LINE:MVDCAEnd /** * This method should return an instance of the display. */ public Display getDisplay() {//GEN-FIRST:MVDGetDisplay return Display.getDisplay(this); }//GEN-LAST:MVDGetDisplay /** * This method should exit the midlet. */ public void exitMIDlet() {//GEN-FIRST:MVDExitMidlet getDisplay().setCurrent(null); destroyApp(true); notifyDestroyed(); }//GEN-LAST:MVDExitMidlet /** This method returns instance for Acceuil component and should be called instead of accessing Acceuil field directly.//GEN-BEGIN:MVDGetBegin2 * @return Instance for Acceuil component */ public Form get_Acceuil() { if (Acceuil == null) {//GEN-END:MVDGetBegin2 // Insert pre-init code here Acceuil = new Form(null, new Item[] {//GEN-BEGIN:MVDGetInit2 get_helloStringItem(), get_spacer1(), get_stringItem1(), get_spacer10(), get_spacer9() }); Acceuil.addCommand(get_exitCommand()); Acceuil.addCommand(get_okCommand2()); Acceuil.setCommandListener(this); Acceuil.setTicker(get_ticker1());//GEN-END:MVDGetInit2 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd2 return Acceuil; }//GEN-END:MVDGetEnd2 /** This method returns instance for helloStringItem component and should be called instead of accessing helloStringItem field directly.//GEN-BEGIN:MVDGetBegin4 * @return Instance for helloStringItem component */ public StringItem get_helloStringItem() { if (helloStringItem == null) {//GEN-END:MVDGetBegin4 // Insert pre-init code here helloStringItem = new StringItem("", "");//GEN-LINE:MVDGetInit4 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd4 return helloStringItem; }//GEN-END:MVDGetEnd4 /** This method returns instance for exitCommand component and should be called instead of accessing exitCommand field directly.//GEN-BEGIN:MVDGetBegin5 * @return Instance for exitCommand component */ public Command get_exitCommand() { if (exitCommand == null) {//GEN-END:MVDGetBegin5 // Insert pre-init code here exitCommand = new Command("Exit", Command.EXIT, 1);//GEN-LINE:MVDGetInit5 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd5 return exitCommand; }//GEN-END:MVDGetEnd5 /** This method returns instance for Introdution component and should be called instead of accessing Introdution field directly.//GEN-BEGIN:MVDGetBegin6 * @return Instance for Introdution component */ public Form get_Introdution() { if (Introdution == null) {//GEN-END:MVDGetBegin6 // Insert pre-init code here Introdution = new Form(null, new Item[] {//GEN-BEGIN:MVDGetInit6 get_spacer2(), get_stringItem2() }); Introdution.addCommand(get_okCommand3()); Introdution.setCommandListener(this); Introdution.setTicker(get_ticker2());//GEN-END:MVDGetInit6 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd6 return Introdution; }//GEN-END:MVDGetEnd6 /** This method returns instance for ticker1 component and should be called instead of accessing ticker1 field directly.//GEN-BEGIN:MVDGetBegin7 * @return Instance for ticker1 component */ public Ticker get_ticker1() { if (ticker1 == null) {//GEN-END:MVDGetBegin7 // Insert pre-init code here ticker1 = new Ticker("\u00A4\u00A4 Bienvenue au QCM java d\u00E9vellop\u00E9 sur l\'IDE NetBeans \u00A4\u00A4");//GEN-LINE:MVDGetInit7 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd7 return ticker1; }//GEN-END:MVDGetEnd7 /** This method returns instance for spacer1 component and should be called instead of accessing spacer1 field directly.//GEN-BEGIN:MVDGetBegin8 * @return Instance for spacer1 component */ public Spacer get_spacer1() { if (spacer1 == null) {//GEN-END:MVDGetBegin8 // Insert pre-init code here spacer1 = new Spacer(1000, 1);//GEN-LINE:MVDGetInit8 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd8 return spacer1; }//GEN-END:MVDGetEnd8 /** This method returns instance for stringItem1 component and should be called instead of accessing stringItem1 field directly.//GEN-BEGIN:MVDGetBegin10 * @return Instance for stringItem1 component */ public StringItem get_stringItem1() { if (stringItem1 == null) {//GEN-END:MVDGetBegin10 // Insert pre-init code here stringItem1 = new StringItem("", "Cette application mobile est devellop\u00E9 sous\nla configuration CLDC 1.1 et profil MIDP 2.0 au sein de l\'architecture J2ME.\n\nEncadr\u00E9 par Mr : BOUZOUBAA \n R\u00E9alis\u00E9 par : Ibtissam TAOUIL\n Ilham ELAZARI\n Rachid LMIDMANI\n\n\n\nECOLE MOHAMMADIA D\'INGENIEURS\n \u00A92006");//GEN-LINE:MVDGetInit10 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd10 return stringItem1; }//GEN-END:MVDGetEnd10 /** This method returns instance for okCommand1 component and should be called instead of accessing okCommand1 field directly.//GEN-BEGIN:MVDGetBegin11 * @return Instance for okCommand1 component */ public Command get_okCommand1() { if (okCommand1 == null) {//GEN-END:MVDGetBegin11 // Insert pre-init code here okCommand1 = new Command("Ok", Command.OK, 1);//GEN-LINE:MVDGetInit11 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd11 return okCommand1; }//GEN-END:MVDGetEnd11 /** This method returns instance for okCommand2 component and should be called instead of accessing okCommand2 field directly.//GEN-BEGIN:MVDGetBegin12 * @return Instance for okCommand2 component */ public Command get_okCommand2() { if (okCommand2 == null) {//GEN-END:MVDGetBegin12 // Insert pre-init code here okCommand2 = new Command("Commencer", Command.OK, 1);//GEN-LINE:MVDGetInit12 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd12 return okCommand2; }//GEN-END:MVDGetEnd12 /** This method returns instance for Question2 component and should be called instead of accessing Question2 field directly.//GEN-BEGIN:MVDGetBegin15 * @return Instance for Question2 component */ public Form get_Question2() { if (Question2 == null) {//GEN-END:MVDGetBegin15 // Insert pre-init code here Question2 = new Form(null, new Item[] {//GEN-BEGIN:MVDGetInit15 get_spacer4(), get_stringItem4(), get_choiceGroup3() }); Question2.addCommand(get_okCommand6()); Question2.addCommand(get_exitCommand3()); Question2.setCommandListener(this); Question2.setTicker(get_ticker4());//GEN-END:MVDGetInit15 Question2.setItemStateListener(this); itemStateChanged(choiceGroup3); }//GEN-BEGIN:MVDGetEnd15 return Question2; }//GEN-END:MVDGetEnd15 /** This method returns instance for Question3 component and should be called instead of accessing Question3 field directly.//GEN-BEGIN:MVDGetBegin16 * @return Instance for Question3 component */ public Form get_Question3() { if (Question3 == null) {//GEN-END:MVDGetBegin16 // Insert pre-init code here Question3 = new Form(null, new Item[] {//GEN-BEGIN:MVDGetInit16 get_spacer5(), get_stringItem8(), get_choiceGroup4() }); Question3.addCommand(get_okCommand7()); Question3.addCommand(get_exitCommand4()); Question3.setCommandListener(this); Question3.setTicker(get_ticker5());//GEN-END:MVDGetInit16 Question3.setItemStateListener(this); itemStateChanged(choiceGroup4); }//GEN-BEGIN:MVDGetEnd16 return Question3; }//GEN-END:MVDGetEnd16 /** This method returns instance for ticker2 component and should be called instead of accessing ticker2 field directly.//GEN-BEGIN:MVDGetBegin17 * @return Instance for ticker2 component */ public Ticker get_ticker2() { if (ticker2 == null) {//GEN-END:MVDGetBegin17 // Insert pre-init code here ticker2 = new Ticker("\u00A4 QCM Java \u00A4");//GEN-LINE:MVDGetInit17 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd17 return ticker2; }//GEN-END:MVDGetEnd17 /** This method returns instance for Question4 component and should be called instead of accessing Question4 field directly.//GEN-BEGIN:MVDGetBegin18 * @return Instance for Question4 component */ public Form get_Question4() { if (Question4 == null) {//GEN-END:MVDGetBegin18 // Insert pre-init code here Question4 = new Form(null, new Item[] {//GEN-BEGIN:MVDGetInit18 get_spacer6(), get_stringItem10(), get_choiceGroup7() }); Question4.addCommand(get_okCommand8()); Question4.addCommand(get_exitCommand5()); Question4.setCommandListener(this); Question4.setTicker(get_ticker6());//GEN-END:MVDGetInit18 Question4.setItemStateListener(this); itemStateChanged(choiceGroup7); }//GEN-BEGIN:MVDGetEnd18 return Question4; }//GEN-END:MVDGetEnd18 /** This method returns instance for Question5 component and should be called instead of accessing Question5 field directly.//GEN-BEGIN:MVDGetBegin19 * @return Instance for Question5 component */ public Form get_Question5() { if (Question5 == null) {//GEN-END:MVDGetBegin19 // Insert pre-init code here Question5 = new Form(null, new Item[] {//GEN-BEGIN:MVDGetInit19 get_spacer7(), get_stringItem9(), get_choiceGroup6() }); Question5.addCommand(get_okCommand9()); Question5.addCommand(get_exitCommand6()); Question5.setCommandListener(this); Question5.setTicker(get_ticker7());//GEN-END:MVDGetInit19 Question5.setItemStateListener(this); itemStateChanged(choiceGroup6); }//GEN-BEGIN:MVDGetEnd19 return Question5; }//GEN-END:MVDGetEnd19 /** This method returns instance for Score component and should be called instead of accessing Score field directly.//GEN-BEGIN:MVDGetBegin20 * @return Instance for Score component */ public Form get_Score() { if (Score == null) {//GEN-END:MVDGetBegin20 // Insert pre-init code here Score = new Form(null, new Item[] {//GEN-BEGIN:MVDGetInit20 get_spacer8(), get_stringItem5() }); Score.addCommand(get_okCommand10()); Score.setCommandListener(this); Score.setTicker(get_ticker8());//GEN-END:MVDGetInit20 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd20 return Score; }//GEN-END:MVDGetEnd20 /** This method returns instance for Bye component and should be called instead of accessing Bye field directly.//GEN-BEGIN:MVDGetBegin21 * @return Instance for Bye component */ public Form get_Bye() { if (Bye == null) {//GEN-END:MVDGetBegin21 // Insert pre-init code here Bye = new Form(null, new Item[] {//GEN-BEGIN:MVDGetInit21 get_spacer11(), get_spacer12(), get_stringItem7() }); Bye.addCommand(get_exitCommand1()); Bye.setCommandListener(this); Bye.setTicker(get_ticker9());//GEN-END:MVDGetInit21 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd21 return Bye; }//GEN-END:MVDGetEnd21 /** This method returns instance for okCommand3 component and should be called instead of accessing okCommand3 field directly.//GEN-BEGIN:MVDGetBegin22 * @return Instance for okCommand3 component */ public Command get_okCommand3() { if (okCommand3 == null) {//GEN-END:MVDGetBegin22 // Insert pre-init code here okCommand3 = new Command("Suivant", Command.OK, 1);//GEN-LINE:MVDGetInit22 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd22 return okCommand3; }//GEN-END:MVDGetEnd22 /** This method returns instance for okCommand4 component and should be called instead of accessing okCommand4 field directly.//GEN-BEGIN:MVDGetBegin24 * @return Instance for okCommand4 component */ public Command get_okCommand4() { if (okCommand4 == null) {//GEN-END:MVDGetBegin24 // Insert pre-init code here okCommand4 = new Command("Valider", Command.OK, 1);//GEN-LINE:MVDGetInit24 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd24 return okCommand4; }//GEN-END:MVDGetEnd24 /** This method returns instance for ticker3 component and should be called instead of accessing ticker3 field directly.//GEN-BEGIN:MVDGetBegin26 * @return Instance for ticker3 component */ public Ticker get_ticker3() { if (ticker3 == null) {//GEN-END:MVDGetBegin26 // Insert pre-init code here ticker3 = new Ticker("\u00A4 QCM en Java \u00A4");//GEN-LINE:MVDGetInit26 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd26 return ticker3; }//GEN-END:MVDGetEnd26 /** This method returns instance for okCommand5 component and should be called instead of accessing okCommand5 field directly.//GEN-BEGIN:MVDGetBegin27 * @return Instance for okCommand5 component */ public Command get_okCommand5() { if (okCommand5 == null) {//GEN-END:MVDGetBegin27 // Insert pre-init code here okCommand5 = new Command("Ok", Command.OK, 1);//GEN-LINE:MVDGetInit27 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd27 return okCommand5; }//GEN-END:MVDGetEnd27 /** This method returns instance for okCommand6 component and should be called instead of accessing okCommand6 field directly.//GEN-BEGIN:MVDGetBegin29 * @return Instance for okCommand6 component */ public Command get_okCommand6() { if (okCommand6 == null) {//GEN-END:MVDGetBegin29 // Insert pre-init code here okCommand6 = new Command("Valider", Command.OK, 1);//GEN-LINE:MVDGetInit29 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd29 return okCommand6; }//GEN-END:MVDGetEnd29 /** This method returns instance for ticker4 component and should be called instead of accessing ticker4 field directly.//GEN-BEGIN:MVDGetBegin31 * @return Instance for ticker4 component */ public Ticker get_ticker4() { if (ticker4 == null) {//GEN-END:MVDGetBegin31 // Insert pre-init code here ticker4 = new Ticker("\u00A4 QCM en Java \u00A4");//GEN-LINE:MVDGetInit31 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd31 return ticker4; }//GEN-END:MVDGetEnd31 /** This method returns instance for okCommand7 component and should be called instead of accessing okCommand7 field directly.//GEN-BEGIN:MVDGetBegin32 * @return Instance for okCommand7 component */ public Command get_okCommand7() { if (okCommand7 == null) {//GEN-END:MVDGetBegin32 // Insert pre-init code here okCommand7 = new Command("Valider", Command.OK, 1);//GEN-LINE:MVDGetInit32 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd32 return okCommand7; }//GEN-END:MVDGetEnd32 /** This method returns instance for ticker5 component and should be called instead of accessing ticker5 field directly.//GEN-BEGIN:MVDGetBegin34 * @return Instance for ticker5 component */ public Ticker get_ticker5() { if (ticker5 == null) {//GEN-END:MVDGetBegin34 // Insert pre-init code here ticker5 = new Ticker("\u00A4 QCM en Java \u00A4");//GEN-LINE:MVDGetInit34 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd34 return ticker5; }//GEN-END:MVDGetEnd34 /** This method returns instance for okCommand8 component and should be called instead of accessing okCommand8 field directly.//GEN-BEGIN:MVDGetBegin35 * @return Instance for okCommand8 component */ public Command get_okCommand8() { if (okCommand8 == null) {//GEN-END:MVDGetBegin35 // Insert pre-init code here okCommand8 = new Command("Valider", Command.OK, 1);//GEN-LINE:MVDGetInit35 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd35 return okCommand8; }//GEN-END:MVDGetEnd35 /** This method returns instance for ticker6 component and should be called instead of accessing ticker6 field directly.//GEN-BEGIN:MVDGetBegin37 * @return Instance for ticker6 component */ public Ticker get_ticker6() { if (ticker6 == null) {//GEN-END:MVDGetBegin37 // Insert pre-init code here ticker6 = new Ticker("\u00A4 QCM en Java \u00A4");//GEN-LINE:MVDGetInit37 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd37 return ticker6; }//GEN-END:MVDGetEnd37 /** This method returns instance for ticker7 component and should be called instead of accessing ticker7 field directly.//GEN-BEGIN:MVDGetBegin38 * @return Instance for ticker7 component */ public Ticker get_ticker7() { if (ticker7 == null) {//GEN-END:MVDGetBegin38 // Insert pre-init code here ticker7 = new Ticker("\u00A4 QCM en Java \u00A4");//GEN-LINE:MVDGetInit38 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd38 return ticker7; }//GEN-END:MVDGetEnd38 /** This method returns instance for okCommand9 component and should be called instead of accessing okCommand9 field directly.//GEN-BEGIN:MVDGetBegin39 * @return Instance for okCommand9 component */ public Command get_okCommand9() { if (okCommand9 == null) {//GEN-END:MVDGetBegin39 // Insert pre-init code here okCommand9 = new Command("Score", Command.OK, 1);//GEN-LINE:MVDGetInit39 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd39 return okCommand9; }//GEN-END:MVDGetEnd39 /** This method returns instance for ticker8 component and should be called instead of accessing ticker8 field directly.//GEN-BEGIN:MVDGetBegin41 * @return Instance for ticker8 component */ public Ticker get_ticker8() { if (ticker8 == null) {//GEN-END:MVDGetBegin41 // Insert pre-init code here ticker8 = new Ticker("\u00A4 QCM en Java \u00A4");//GEN-LINE:MVDGetInit41 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd41 return ticker8; }//GEN-END:MVDGetEnd41 /** This method returns instance for okCommand10 component and should be called instead of accessing okCommand10 field directly.//GEN-BEGIN:MVDGetBegin42 * @return Instance for okCommand10 component */ public Command get_okCommand10() { if (okCommand10 == null) {//GEN-END:MVDGetBegin42 // Insert pre-init code here okCommand10 = new Command("Sortir", Command.OK, 1);//GEN-LINE:MVDGetInit42 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd42 return okCommand10; }//GEN-END:MVDGetEnd42 /** This method returns instance for okCommand11 component and should be called instead of accessing okCommand11 field directly.//GEN-BEGIN:MVDGetBegin44 * @return Instance for okCommand11 component */ public Command get_okCommand11() { if (okCommand11 == null) {//GEN-END:MVDGetBegin44 // Insert pre-init code here okCommand11 = new Command("Ok", Command.OK, 1);//GEN-LINE:MVDGetInit44 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd44 return okCommand11; }//GEN-END:MVDGetEnd44 /** This method returns instance for exitCommand1 component and should be called instead of accessing exitCommand1 field directly.//GEN-BEGIN:MVDGetBegin46 * @return Instance for exitCommand1 component */ public Command get_exitCommand1() { if (exitCommand1 == null) {//GEN-END:MVDGetBegin46 // Insert pre-init code here exitCommand1 = new Command("Quitter", Command.EXIT, 1);//GEN-LINE:MVDGetInit46 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd46 return exitCommand1; }//GEN-END:MVDGetEnd46 /** This method returns instance for spacer2 component and should be called instead of accessing spacer2 field directly.//GEN-BEGIN:MVDGetBegin48 * @return Instance for spacer2 component */ public Spacer get_spacer2() { if (spacer2 == null) {//GEN-END:MVDGetBegin48 // Insert pre-init code here spacer2 = new Spacer(1000, 1);//GEN-LINE:MVDGetInit48 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd48 return spacer2; }//GEN-END:MVDGetEnd48 /** This method returns instance for spacer3 component and should be called instead of accessing spacer3 field directly.//GEN-BEGIN:MVDGetBegin49 * @return Instance for spacer3 component */ public Spacer get_spacer3() { if (spacer3 == null) {//GEN-END:MVDGetBegin49 // Insert pre-init code here spacer3 = new Spacer(1000, 1);//GEN-LINE:MVDGetInit49 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd49 return spacer3; }//GEN-END:MVDGetEnd49 /** This method returns instance for spacer4 component and should be called instead of accessing spacer4 field directly.//GEN-BEGIN:MVDGetBegin50 * @return Instance for spacer4 component */ public Spacer get_spacer4() { if (spacer4 == null) {//GEN-END:MVDGetBegin50 // Insert pre-init code here spacer4 = new Spacer(1000, 1);//GEN-LINE:MVDGetInit50 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd50 return spacer4; }//GEN-END:MVDGetEnd50 /** This method returns instance for spacer5 component and should be called instead of accessing spacer5 field directly.//GEN-BEGIN:MVDGetBegin51 * @return Instance for spacer5 component */ public Spacer get_spacer5() { if (spacer5 == null) {//GEN-END:MVDGetBegin51 // Insert pre-init code here spacer5 = new Spacer(1000, 1);//GEN-LINE:MVDGetInit51 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd51 return spacer5; }//GEN-END:MVDGetEnd51 /** This method returns instance for spacer6 component and should be called instead of accessing spacer6 field directly.//GEN-BEGIN:MVDGetBegin52 * @return Instance for spacer6 component */ public Spacer get_spacer6() { if (spacer6 == null) {//GEN-END:MVDGetBegin52 // Insert pre-init code here spacer6 = new Spacer(1000, 1);//GEN-LINE:MVDGetInit52 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd52 return spacer6; }//GEN-END:MVDGetEnd52 /** This method returns instance for spacer7 component and should be called instead of accessing spacer7 field directly.//GEN-BEGIN:MVDGetBegin53 * @return Instance for spacer7 component */ public Spacer get_spacer7() { if (spacer7 == null) {//GEN-END:MVDGetBegin53 // Insert pre-init code here spacer7 = new Spacer(1000, 1);//GEN-LINE:MVDGetInit53 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd53 return spacer7; }//GEN-END:MVDGetEnd53 /** This method returns instance for spacer8 component and should be called instead of accessing spacer8 field directly.//GEN-BEGIN:MVDGetBegin54 * @return Instance for spacer8 component */ public Spacer get_spacer8() { if (spacer8 == null) {//GEN-END:MVDGetBegin54 // Insert pre-init code here spacer8 = new Spacer(1000, 1);//GEN-LINE:MVDGetInit54 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd54 return spacer8; }//GEN-END:MVDGetEnd54 /** This method returns instance for spacer9 component and should be called instead of accessing spacer9 field directly.//GEN-BEGIN:MVDGetBegin55 * @return Instance for spacer9 component */ public Spacer get_spacer9() { if (spacer9 == null) {//GEN-END:MVDGetBegin55 // Insert pre-init code here spacer9 = new Spacer(1000, 1);//GEN-LINE:MVDGetInit55 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd55 return spacer9; }//GEN-END:MVDGetEnd55 /** This method returns instance for spacer10 component and should be called instead of accessing spacer10 field directly.//GEN-BEGIN:MVDGetBegin56 * @return Instance for spacer10 component */ public Spacer get_spacer10() { if (spacer10 == null) {//GEN-END:MVDGetBegin56 // Insert pre-init code here spacer10 = new Spacer(1000, 1);//GEN-LINE:MVDGetInit56 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd56 return spacer10; }//GEN-END:MVDGetEnd56 /** This method returns instance for stringItem2 component and should be called instead of accessing stringItem2 field directly.//GEN-BEGIN:MVDGetBegin57 * @return Instance for stringItem2 component */ public StringItem get_stringItem2() { if (stringItem2 == null) {//GEN-END:MVDGetBegin57 // Insert pre-init code here stringItem2 = new StringItem("", "\n\n\n\n\n Ce qestionnaire sur Java est un QCM :\nles questions sont donn\u00E9es \u00E0 choix multiples et exclusifs. Les questions portent sur diff\u00E9rents aspects du langage Java et sont suivies par une note \u00E9valu\u00E9e\n\u00E0 la fin de l\'exercice.\n\n\n Bonne chance.");//GEN-LINE:MVDGetInit57 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd57 return stringItem2; }//GEN-END:MVDGetEnd57 /** This method returns instance for stringItem3 component and should be called instead of accessing stringItem3 field directly.//GEN-BEGIN:MVDGetBegin58 * @return Instance for stringItem3 component */ public StringItem get_stringItem3() { if (stringItem3 == null) {//GEN-END:MVDGetBegin58 // Insert pre-init code here stringItem3 = new StringItem("", "\n\nQuestion 1 : \n\n\n");//GEN-BEGIN:MVDGetInit58 stringItem3.setFont(get_font2());//GEN-END:MVDGetInit58 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd58 return stringItem3; }//GEN-END:MVDGetEnd58 /** This method returns instance for font1 component and should be called instead of accessing font1 field directly.//GEN-BEGIN:MVDGetBegin59 * @return Instance for font1 component */ public Font get_font1() { if (font1 == null) {//GEN-END:MVDGetBegin59 // Insert pre-init code here font1 = Font.getDefaultFont();//GEN-LINE:MVDGetInit59 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd59 return font1; }//GEN-END:MVDGetEnd59 /** This method returns instance for font2 component and should be called instead of accessing font2 field directly.//GEN-BEGIN:MVDGetBegin62 * @return Instance for font2 component */ public Font get_font2() { if (font2 == null) {//GEN-END:MVDGetBegin62 // Insert pre-init code here font2 = Font.getFont(Font.FACE_SYSTEM, 0x3, Font.SIZE_MEDIUM);//GEN-LINE:MVDGetInit62 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd62 return font2; }//GEN-END:MVDGetEnd62 /** This method returns instance for choiceGroup2 component and should be called instead of accessing choiceGroup2 field directly.//GEN-BEGIN:MVDGetBegin63 * @return Instance for choiceGroup2 component */ public ChoiceGroup get_choiceGroup2() { if (choiceGroup2 == null) {//GEN-END:MVDGetBegin63 // Insert pre-init code here choiceGroup2 = new ChoiceGroup("La commande permettant d\'executer une application java est : \n ", Choice.EXCLUSIVE, new String[] {//GEN-BEGIN:MVDGetInit63 "javac", "java", "exec" }, new Image[] { null, null, null }); choiceGroup2.setLayout(Item.LAYOUT_DEFAULT); choiceGroup2.setSelectedFlags(new boolean[] { true, false, false });//GEN-END:MVDGetInit63 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd63 return choiceGroup2; }//GEN-END:MVDGetEnd63 /** This method returns instance for stringItem4 component and should be called instead of accessing stringItem4 field directly.//GEN-BEGIN:MVDGetBegin67 * @return Instance for stringItem4 component */ public StringItem get_stringItem4() { if (stringItem4 == null) {//GEN-END:MVDGetBegin67 // Insert pre-init code here stringItem4 = new StringItem("", "\n\nQuestion 2 : \n ");//GEN-BEGIN:MVDGetInit67 stringItem4.setFont(get_font3());//GEN-END:MVDGetInit67 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd67 return stringItem4; }//GEN-END:MVDGetEnd67 /** This method returns instance for font3 component and should be called instead of accessing font3 field directly.//GEN-BEGIN:MVDGetBegin68 * @return Instance for font3 component */ public Font get_font3() { if (font3 == null) {//GEN-END:MVDGetBegin68 // Insert pre-init code here font3 = Font.getFont(Font.FACE_SYSTEM, 0x3, Font.SIZE_MEDIUM);//GEN-LINE:MVDGetInit68 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd68 return font3; }//GEN-END:MVDGetEnd68 /** This method returns instance for choiceGroup3 component and should be called instead of accessing choiceGroup3 field directly.//GEN-BEGIN:MVDGetBegin69 * @return Instance for choiceGroup3 component */ public ChoiceGroup get_choiceGroup3() { if (choiceGroup3 == null) {//GEN-END:MVDGetBegin69 // Insert pre-init code here choiceGroup3 = new ChoiceGroup("La commande permettant de compiler un programme java est : ", Choice.EXCLUSIVE, new String[] {//GEN-BEGIN:MVDGetInit69 "javac", "java", "exec" }, new Image[] { null, null, null }); choiceGroup3.setSelectedFlags(new boolean[] { false, false, false });//GEN-END:MVDGetInit69 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd69 return choiceGroup3; }//GEN-END:MVDGetEnd69 /** This method returns instance for exitCommand2 component and should be called instead of accessing exitCommand2 field directly.//GEN-BEGIN:MVDGetBegin73 * @return Instance for exitCommand2 component */ public Command get_exitCommand2() { if (exitCommand2 == null) {//GEN-END:MVDGetBegin73 // Insert pre-init code here exitCommand2 = new Command("Quitter", Command.EXIT, 1);//GEN-LINE:MVDGetInit73 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd73 return exitCommand2; }//GEN-END:MVDGetEnd73 /** This method returns instance for exitCommand3 component and should be called instead of accessing exitCommand3 field directly.//GEN-BEGIN:MVDGetBegin75 * @return Instance for exitCommand3 component */ public Command get_exitCommand3() { if (exitCommand3 == null) {//GEN-END:MVDGetBegin75 // Insert pre-init code here exitCommand3 = new Command("Quitter", Command.EXIT, 1);//GEN-LINE:MVDGetInit75 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd75 return exitCommand3; }//GEN-END:MVDGetEnd75 /** This method returns instance for exitCommand4 component and should be called instead of accessing exitCommand4 field directly.//GEN-BEGIN:MVDGetBegin77 * @return Instance for exitCommand4 component */ public Command get_exitCommand4() { if (exitCommand4 == null) {//GEN-END:MVDGetBegin77 // Insert pre-init code here exitCommand4 = new Command("Quitter", Command.EXIT, 1);//GEN-LINE:MVDGetInit77 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd77 return exitCommand4; }//GEN-END:MVDGetEnd77 /** This method returns instance for exitCommand5 component and should be called instead of accessing exitCommand5 field directly.//GEN-BEGIN:MVDGetBegin79 * @return Instance for exitCommand5 component */ public Command get_exitCommand5() { if (exitCommand5 == null) {//GEN-END:MVDGetBegin79 // Insert pre-init code here exitCommand5 = new Command("Quitter", Command.EXIT, 1);//GEN-LINE:MVDGetInit79 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd79 return exitCommand5; }//GEN-END:MVDGetEnd79 /** This method returns instance for exitCommand6 component and should be called instead of accessing exitCommand6 field directly.//GEN-BEGIN:MVDGetBegin84 * @return Instance for exitCommand6 component */ public Command get_exitCommand6() { if (exitCommand6 == null) {//GEN-END:MVDGetBegin84 // Insert pre-init code here exitCommand6 = new Command("Quitter", Command.EXIT, 1);//GEN-LINE:MVDGetInit84 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd84 return exitCommand6; }//GEN-END:MVDGetEnd84 /** This method returns instance for stringItem5 component and should be called instead of accessing stringItem5 field directly.//GEN-BEGIN:MVDGetBegin88 * @return Instance for stringItem5 component */ public StringItem get_stringItem5() { if (stringItem5 == null) {//GEN-END:MVDGetBegin88 // Insert pre-init code here stringItem5 = new StringItem("", "\n\n\n F\u00E9licitation. Vous avez fini le questionnaire.\n\n Votre score est :\n\n ");//GEN-LINE:MVDGetInit88 stringItem5 = new StringItem("", "\n\n\n F\u00E9licitation. Vous avez fini le questionnaire.\n\n Votre score est :\n\n" + num + " / 20"); }//GEN-BEGIN:MVDGetEnd88 return stringItem5; }//GEN-END:MVDGetEnd88 /** This method returns instance for stringItem6 component and should be called instead of accessing stringItem6 field directly.//GEN-BEGIN:MVDGetBegin89 * @return Instance for stringItem6 component */ public StringItem get_stringItem6() { if (stringItem6 == null) {//GEN-END:MVDGetBegin89 // Insert pre-init code here stringItem6 = new StringItem("stringItem6", "");//GEN-LINE:MVDGetInit89 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd89 return stringItem6; }//GEN-END:MVDGetEnd89 /** This method returns instance for ticker9 component and should be called instead of accessing ticker9 field directly.//GEN-BEGIN:MVDGetBegin90 * @return Instance for ticker9 component */ public Ticker get_ticker9() { if (ticker9 == null) {//GEN-END:MVDGetBegin90 // Insert pre-init code here ticker9 = new Ticker("\u00A4 QCM en Java \u00A4");//GEN-LINE:MVDGetInit90 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd90 return ticker9; }//GEN-END:MVDGetEnd90 /** This method returns instance for spacer11 component and should be called instead of accessing spacer11 field directly.//GEN-BEGIN:MVDGetBegin91 * @return Instance for spacer11 component */ public Spacer get_spacer11() { if (spacer11 == null) {//GEN-END:MVDGetBegin91 // Insert pre-init code here spacer11 = new Spacer(1000, 1);//GEN-LINE:MVDGetInit91 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd91 return spacer11; }//GEN-END:MVDGetEnd91 /** This method returns instance for spacer12 component and should be called instead of accessing spacer12 field directly.//GEN-BEGIN:MVDGetBegin92 * @return Instance for spacer12 component */ public Spacer get_spacer12() { if (spacer12 == null) {//GEN-END:MVDGetBegin92 // Insert pre-init code here spacer12 = new Spacer(1000, 1);//GEN-LINE:MVDGetInit92 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd92 return spacer12; }//GEN-END:MVDGetEnd92 /** This method returns instance for stringItem7 component and should be called instead of accessing stringItem7 field directly.//GEN-BEGIN:MVDGetBegin93 * @return Instance for stringItem7 component */ public StringItem get_stringItem7() { if (stringItem7 == null) {//GEN-END:MVDGetBegin93 // Insert pre-init code here stringItem7 = new StringItem("", " Au revoir \n\n");//GEN-BEGIN:MVDGetInit93 stringItem7.setFont(get_font4());//GEN-END:MVDGetInit93 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd93 return stringItem7; }//GEN-END:MVDGetEnd93 /** This method returns instance for font4 component and should be called instead of accessing font4 field directly.//GEN-BEGIN:MVDGetBegin94 * @return Instance for font4 component */ public Font get_font4() { if (font4 == null) {//GEN-END:MVDGetBegin94 // Insert pre-init code here font4 = Font.getFont(Font.FACE_SYSTEM, 0x1, Font.SIZE_MEDIUM);//GEN-LINE:MVDGetInit94 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd94 return font4; }//GEN-END:MVDGetEnd94 /** This method returns instance for stringItem8 component and should be called instead of accessing stringItem8 field directly.//GEN-BEGIN:MVDGetBegin95 * @return Instance for stringItem8 component */ public StringItem get_stringItem8() { if (stringItem8 == null) {//GEN-END:MVDGetBegin95 // Insert pre-init code here stringItem8 = new StringItem("", " \n Question 3: ");//GEN-BEGIN:MVDGetInit95 stringItem8.setFont(get_font3());//GEN-END:MVDGetInit95 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd95 return stringItem8; }//GEN-END:MVDGetEnd95 /** This method returns instance for choiceGroup4 component and should be called instead of accessing choiceGroup4 field directly.//GEN-BEGIN:MVDGetBegin96 * @return Instance for choiceGroup4 component */ public ChoiceGroup get_choiceGroup4() { if (choiceGroup4 == null) {//GEN-END:MVDGetBegin96 // Insert pre-init code here choiceGroup4 = new ChoiceGroup("Un fichier contenant un programme java doit posseder l\'extension : ", Choice.EXCLUSIVE, new String[] {//GEN-BEGIN:MVDGetInit96 "jar", "class", "java" }, new Image[] { null, null, null }); choiceGroup4.setSelectedFlags(new boolean[] { false, false, false });//GEN-END:MVDGetInit96 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd96 return choiceGroup4; }//GEN-END:MVDGetEnd96 /** This method returns instance for choiceGroup5 component and should be called instead of accessing choiceGroup5 field directly.//GEN-BEGIN:MVDGetBegin97 * @return Instance for choiceGroup5 component */ public ChoiceGroup get_choiceGroup5() { if (choiceGroup5 == null) {//GEN-END:MVDGetBegin97 // Insert pre-init code here choiceGroup5 = new ChoiceGroup("choiceGroup5", Choice.MULTIPLE, new String[0], new Image[0]);//GEN-BEGIN:MVDGetInit97 choiceGroup5.setSelectedFlags(new boolean[0]);//GEN-END:MVDGetInit97 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd97 return choiceGroup5; }//GEN-END:MVDGetEnd97 /** This method returns instance for stringItem9 component and should be called instead of accessing stringItem9 field directly.//GEN-BEGIN:MVDGetBegin101 * @return Instance for stringItem9 component */ public StringItem get_stringItem9() { if (stringItem9 == null) {//GEN-END:MVDGetBegin101 // Insert pre-init code here stringItem9 = new StringItem("", " Question 5 : ");//GEN-BEGIN:MVDGetInit101 stringItem9.setFont(get_font3());//GEN-END:MVDGetInit101 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd101 return stringItem9; }//GEN-END:MVDGetEnd101 /** This method returns instance for choiceGroup6 component and should be called instead of accessing choiceGroup6 field directly.//GEN-BEGIN:MVDGetBegin102 * @return Instance for choiceGroup6 component */ public ChoiceGroup get_choiceGroup6() { if (choiceGroup6 == null) {//GEN-END:MVDGetBegin102 // Insert pre-init code here choiceGroup6 = new ChoiceGroup("Pour executer une application java dont le programme source est dans le fichier \"Test.java\", je dois taper : ", Choice.EXCLUSIVE, new String[] {//GEN-BEGIN:MVDGetInit102 "javac Test", "java Test.java", "javac Test.java" }, new Image[] { null, null, null }); choiceGroup6.setSelectedFlags(new boolean[] { false, false, false });//GEN-END:MVDGetInit102 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd102 return choiceGroup6; }//GEN-END:MVDGetEnd102 /** This method returns instance for stringItem10 component and should be called instead of accessing stringItem10 field directly.//GEN-BEGIN:MVDGetBegin106 * @return Instance for stringItem10 component */ public StringItem get_stringItem10() { if (stringItem10 == null) {//GEN-END:MVDGetBegin106 // Insert pre-init code here stringItem10 = new StringItem("", " Question 4 :\n ");//GEN-BEGIN:MVDGetInit106 stringItem10.setFont(get_font3());//GEN-END:MVDGetInit106 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd106 return stringItem10; }//GEN-END:MVDGetEnd106 /** This method returns instance for choiceGroup7 component and should be called instead of accessing choiceGroup7 field directly.//GEN-BEGIN:MVDGetBegin107 * @return Instance for choiceGroup7 component */ public ChoiceGroup get_choiceGroup7() { if (choiceGroup7 == null) {//GEN-END:MVDGetBegin107 // Insert pre-init code here choiceGroup7 = new ChoiceGroup("Quand un programme java est compile, le fichier genere possede l\'extension : ", Choice.EXCLUSIVE, new String[] {//GEN-BEGIN:MVDGetInit107 "java", "class", "jar" }, new Image[] { null, null, null }); choiceGroup7.setSelectedFlags(new boolean[] { false, false, false });//GEN-END:MVDGetInit107 // Insert post-init code here }//GEN-BEGIN:MVDGetEnd107 return choiceGroup7; }//GEN-END:MVDGetEnd107 public void startApp() { initialize(); } public void pauseApp() { } public void destroyApp(boolean unconditional) { } }