Page 923 - 2
P. 923
}else if(ThigauEEx.count==1 && back.count2==0){
getContentPane().removeAll();
setVisible(false);
revalidate();
repaint();
Fin frame2 = new Fin();
frame2.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame2.setSize(1000,662);
frame2.setVisible(true);
}
}// if end
}// mouseReleased()
}//CustomMouseAdapter{}
public static void main(String[] args) {
back frame = new back();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(1000,662);
frame.setVisible(true);
Timer m_timer = new Timer();
TimerTask m_task = new TimerTask(){
@Override
public void run(){
back.count2++;
}
};
m_timer.schedule(m_task, 62000);
}
}
class ThigauEEx2 extends JFrame {
final ThigauE2 a = new ThigauE2("c:\\main3.jpg");
final ThigauE2 b = new ThigauE2("c:\\main4.jpg");
// 틀린그림부분의 좌표값 배열
static int[] imageX = {38,222,385,13,320,340,10};// 거품두개 큰눈 뚱이손 이빨 스폰지밥이빨, , , , ,
빨간거품 눈,
static int[] imageY = {10,230,410,474,438,565,210};
// 틀린부분의 범위 기본 설정값
- 923 -