JAVA

프로그래밍 2009. 3. 16. 01:32

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

public class FormCompo extends Jlet{
 protected void startApp(String args[]){
  ShellComponent shell = new ShellComponent();

  FormComponent form = new FormComponent();   
                FormComponent sub_form1 = new FormComponent();
  FormComponent sub_form2 = new FormComponent(false);

  sub_form1.addComponent(new LabelComponent("위피 프로젝트"));
  sub_form1.addComponent(new LabelComponent("라벨 컴포넌트"));
  sub_form1.setGab(10);

  sub_form2.addComponent(new ButtonComponent("확인", null));
  sub_form2.addComponent(new ButtonComponent("취소", null));
  sub_form2.setGab(30);
  form.addComponent(sub_form1);
  form.addComponent(sub_form2);
  shell.addComponent(form);
  shell.show();
 }

 protected void destroyApp(boolean b){}
}



 

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

JAVA  (0) 2009.03.31
JAVA  (2) 2009.03.27
JAVA  (0) 2009.03.26
JAVA  (0) 2009.03.23
JAVA  (0) 2009.03.22
JAVA  (0) 2009.03.20
JAVA  (0) 2009.03.19
JAVA  (1) 2009.03.17
JAVA  (1) 2009.03.13
JAVA  (0) 2009.03.12

설정

트랙백

댓글