Page 386 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 386

인천전자마이스터고                                                                            전자회로설계과






                    public class WinExam extends WindowAdapter
                    {
                            @Override
                             public void windowClosing(WindowEvent e)
                             {

                                    System.exit(0);
                             }
                    }





                    public static void main(String[] args)
                    {
                            (new ServerTest()).Server();






                    }
                    @Override
                    public void actionPerformed(ActionEvent e)
                    {



                            if (e.getSource().equals(btn1))
                            {





                                    int  how  =  JOptionPane.showConfirmDialog(this,"대출하시겠습니
            까?","대출", JOptionPane.YES_NO_OPTION);
                                    if(how==0)
                                    {
                            GpioExample.state=1;

                                            mf = new MainFrame();
                                    }
                            }
                            else
                            {







                                                         -  379  -
   381   382   383   384   385   386   387   388   389   390   391