JAVA

프로그래밍 2009. 4. 3. 20:34


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

public class AnnunciatorEx extends Jlet {
 AnnunciatorComponent ann = new AnnunciatorComponent(false);
 ShellComponent shell = new ShellComponent();
 FormComponent form = new FormComponent();
 ButtonComponent button1 = new ButtonComponent("실행하기",null);
 ButtonComponent button2 = new ButtonComponent("취소하기",null);

 protected void startApp(String args[]) {
  ann.show();
  form.addComponent(button1);
  form.addComponent(button2);
  form.setGab(10);
  shell.addComponent(form);
  shell.show();
 }
 protected void destroyApp(boolean b){}
}

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

JAVA  (1) 2009.04.15
JAVA  (0) 2009.04.12
JAVA  (0) 2009.04.10
JAVA  (0) 2009.04.07
JAVA  (0) 2009.04.04
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

설정

트랙백

댓글