JAVA

프로그래밍 2009. 4. 7. 14:35


import org.kwis.msp.lcdui.*;
import org.kwis.msp.lwc.*;

public class TextfieldEx extends Jlet {
 ShellComponent shell = new ShellComponent();
 FormComponent form = new FormComponent();
 TextFieldComponent textfield = new TextFieldComponent("",TextComponent.CONSTRAINT_ANY);
 TextBoxComponent textbox = new TextBoxComponent("",TextComponent.CONSTRAINT_ANY,100);

 protected void startApp(String args[]) {
  form.addComponent(textfield);
  form.addComponent(textbox);
  form.setGab(5);
  shell.setTitle("핸드폰 메모장");
  shell.addComponent(form);
  shell.show();
 }
 protected void destroyApp(boolean b){}
}

'프로그래밍' 카테고리의 다른 글

JAVA  (0) 2009.04.19
JAVA  (0) 2009.04.16
JAVA  (1) 2009.04.15
JAVA  (0) 2009.04.12
JAVA  (0) 2009.04.10
JAVA  (0) 2009.04.04
JAVA  (0) 2009.04.03
JAVA  (0) 2009.03.31
JAVA  (2) 2009.03.27
JAVA  (0) 2009.03.26

설정

트랙백

댓글