javauis/tsrc/fute/lcdui/Midp_TextBox_01/src/ScreenTextBoxTests.java
changeset 87 1627c337e51e
parent 78 71ad690e91f5
equal deleted inserted replaced
80:d6dafc5d983f 87:1627c337e51e
   224     {
   224     {
   225         listConstraints = new List("ListConstraints", List.IMPLICIT, listElements, null);
   225         listConstraints = new List("ListConstraints", List.IMPLICIT, listElements, null);
   226         listConstraints.setCommandListener(this);
   226         listConstraints.setCommandListener(this);
   227         listConstraints.addCommand(cmdBack);
   227         listConstraints.addCommand(cmdBack);
   228         listConstraints.addCommand(cmdOk);
   228         listConstraints.addCommand(cmdOk);
       
   229         listConstraints.setSelectCommand(cmdOk);
   229         Display.getDisplay(parent).setCurrent(listConstraints);
   230         Display.getDisplay(parent).setCurrent(listConstraints);
   230     }
   231     }
   231 
   232 
   232     /**
   233     /**
   233      *  Show this screen
   234      *  Show this screen