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

1016.                           } catch (IOException e) {
                       1017.
                          System.out.println(socket.getInetAddress().toString() + " : Send
                          Error");
                       1018.                           }
                       1019.                   }
                       1020.
                       1021.  // 해당  리스트  초기화
                       1022.                   array.clear();
                       1023.           }
                       1024.
                       1025.   public static void main(String[] args) throws
                       1026.      InterruptedException, IOException {
                       1027.
                       1028.    //     프레임의  생성과함께  그래픽을  모두  로딩
                       1029.           Event frame = new Event();
                       1030.
                       1031.    //     소켓  서버를  실행
                       1032.           ThreadServer Server = new ThreadServer(frame);
                       1033.           Server.start();
                       1034.
                       1035.    //     시리얼  통신을  가동시킴
                       1036.           Serialcom Serialc = new Serialcom(frame);
                       1037.           //Serialc.start();
                       1038.
                       1039.  // 내부  컴포넌트의  크기와  정렬  상태에  따라  프레임의  크기를  정함
                       1040.           frame.pack();
                       1041.
                       1042.  // 화면  표시  시작
                       1043.           frame.setVisible(true);
                       1044.   }
                       1045.
                       1046.   public static class MyModel1 extends AbstractTableModel{

                       1047.
                       1048.  //컬럼정보를  가진  백터
                       1049.           private static final Vector column = new Vector();
                       1050.
                       1051.  //       레코드를  담을  백터(사람들의  정보를  담을  백터  )세로백터


                       1052.           private static Vector list = new Vector();
                       1053.



                                                         -  107  -
   109   110   111   112   113   114   115   116   117   118   119