Page 920 - 2
P. 920

repaint();


                            }
                    });
                    jLabel.setBounds(500, 300, 318, 81);
                    jLabel.setSize(318,81);
                    background.add(jLabel);
                    jLabel.setLocation(500, 300);
                    scrollPane = new JScrollPane(background);
                    setContentPane(scrollPane);
                }




            }


            class ThigauEEx extends JFrame {
                    public static int count;


                     final ThigauE a = new ThigauE("c:\\main.jpg");
                     final ThigauE b = new ThigauE("c:\\main2.jpg");
                     //  틀린그림부분의 좌표값 배열
                     static int[] imageX = {10,220,398,360,390,440,300};
                     static int[] imageY = {60,90,20,440,300,530,400};
                     //  틀린부분의 범위 기본 설정값
                     static final int range = 30;




                     public ThigauEEx(String string) {
                      super(string);
                      Timer m_timer = new Timer();
                      TimerTask m_task = new TimerTask(){
                            @Override
                            public void run(){
                                    if(count==0 && back.count2==0){
                                    new ThigauEEx2("  우뇌상쾌통쾌 틀린그림전집");
                                    getContentPane().removeAll();
                                    setVisible(false);
                                    revalidate();
                                    repaint();
                                    }
                                    if(back.count2==1){
                                            getContentPane().removeAll();
                                            setVisible(false);
                                            revalidate();
                                            repaint();


                                                         - 920 -
   915   916   917   918   919   920   921   922   923   924   925