wipi jlet을 이용한 간단한 타자 게임
- 최초 등록일
- 2007.04.05
- 최종 저작일
- 2007.01
- 압축파일
- 가격 1,000원
소개글
wipi를 배우며 만든 간단한 타자 게임입니다.
공부하면서 만든거라서 소스가 들쑥 날쑥할수도 있지만 공부하시는데는 무리가 없으시라 생각됩니다.
컴파일 실행환경
jdk 1.3
wipi 에뮬레이터
본문내용
<b>Tajja.jar
Tajja.java</b>
import org.kwis.msp.lwc.*;
import org.kwis.msp.lcdui.*;
import java.util.*;
//import java..
public class Tajja extends Jlet
{
static void debug_out(String str){
if(DEBUG) System.out.println(str);
}
static boolean DEBUG= true;
protected void startApp(String []args)
{
Display mainDisp = Display.getDefaultDisplay();
ShellComponent ishell = new ShellComponent(0, mainDisp.getHeight()-14,mainDisp.getHeight(),12);
FormComponent iform = new FormComponent();
gameCard gc = new gameCard(mainDisp, 0, 0, mainDisp.getWidth(), mainDisp.getHeight()-14);
myTextField textField = new myTextField(gc,"",TextComponent.CONSTRAINT_ANY);
// textField.imHandler.setCurrentMode(TextComponent.IN_KOREAN);
ishell.addComponent(iform);
iform.addComponent(textField);
mainDisp.pushCard(gc);
mainDisp.pushCard(ishell.getCard());
mainDisp.callSerially(gc,100);
// mainDisp.
압축파일 내 파일목록
Tajja.java
Tajja.jar
참고 자료
없음