본문 바로가기
Computer/Jlet

[7] Testing

by DogBull 2006. 8. 3.

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

public class wipiTest extends Jlet{
  ShellComponent    shell;
  LabelComponent    label;

  protected void startApp(String args[]){
       shell=    new ShellComponent();
       label=    new LabelComponent("잘 돌아가나?");

       shell.setTitle(new ButtonComponent("Test 중....", null));
       shell.addComponent(label);
       shell.setCommand(new ButtonComponent("화이팅 위피", null), false);

       shell.show();
  }

  protected void pauseApp(){}
  protected void resumeApp(){}
  protected void destroyApp(boolean b){}
};

다음과 같이 입력한후 저장을한다.
이 글을 보는 사람은 java 프로그래밍에 대한 약간의 경험이 있다고 생각 하고 더 이상의 부가적인 설명은 않겠지만 당연히 저장할 파일명은 wipiTest.java로 되어야한다.

ctrl + 1
ctrl + 2
가 모두 정상적으로 실행되고,
ctrl + 3 이 다음과 같이 되면 모든 세팅이 정상적으로 완료된 것이다.


'Computer > Jlet' 카테고리의 다른 글

[9] Hello World  (0) 2006.08.04
[8] Jlet Class  (0) 2006.08.03
[6] EditPlus Setting for Jlet  (0) 2006.08.03
[5] Jlet Developer Environment  (0) 2006.08.03
[4] Keyworld.  (0) 2006.08.03