@@ -0,0 +1,1190 @@
+package sms_j2me;%0A%0Aimport javax.microedition.lcdui.*;%0A%0Apublic class Display3_Testo extends TextBox implements CommandListener  %7B%0A   MainMIDlet midlet;%0A   Display2_Sms precedente;%0A%0A%0A   public Display3_Testo(Display2_Sms d) %7B%0A      super(%22TESTO %5Bmax140 car%5D%22, %22%22, 50, TextField.ANY);%0A      try %7B%0A         precedente = d;%0A         midlet = precedente.getMainMidlet();%0A         jbInit();%0A      %7D%0A      catch(Exception e) %7B%0A         e.printStackTrace();%0A      %7D%0A   %7D%0A%0A   private void jbInit() throws Exception %7B%0A      // Set up this Displayable to listen to command events%0A      setCommandListener(this);%0A%0A%0A      // add the Exit command%0A      addCommand(new Command(%22OK%22, Command.OK, 1));%0A      this.setMaxSize(147);%0A      this.setInitialInputMode(%22IS_FULLWIDTH_DIGITS%22);%0A      //this.setInitialInputMode();%0A   %7D%0A%0A   public void commandAction(Command command, Displayable displayable) %7B%0A      /** @todo Add command handling code */%0A      if (command.getCommandType() == Command.OK) %7B //il tasto OK%0A         precedente.testoText.setString(this.getString());%0A         precedente.itemStateChanged(precedente.testoText);%0A         Display.getDisplay(midlet).setCurrent(precedente);%0A      %7D%0A%0A   %7D%0A%0A%0A%7D%0A

Add DisplayTesto