검색결과 리스트
전체 글에 해당되는 글 238건
- 2009.03.16 JAVA
글
JAVA
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){}
}