Page 868 - 3-2
P. 868

import java.awt.event.ActionEvent;
            import java.sql.*;
            import java.awt.BorderLayout;
            import java.awt.Color;
            import java.awt.EventQueue;
            import javax.swing.JFrame;
            import javax.swing.JPanel;
            import javax.swing.border.EmptyBorder;
            import javax.swing.plaf.synth.SynthSeparatorUI;
            import javax.swing.FocusManager;
            import javax.swing.JButton;
            import javax.swing.JTextArea;
            import java.awt.event.ActionListener;
            import java.io.IOException;
            import java.awt.event.ActionEvent;
            import java.awt.event.ActionListener;
            import java.net.*;
            import java.sql.Connection;
            import java.sql.DriverManager;
            import java.sql.ResultSet;
            import java.sql.SQLException;
            import java.sql.Statement;
            import java.util.*;
            import javax.swing.JButton;
            import javax.swing.JFrame;
            import javax.swing.JPanel;
            import javax.swing.border.EmptyBorder;
            import java.awt.FlowLayout;


            public class ServerMain extends JFrame{




              ServerSocket serv;
              Socket sock;
              private static PreparedStatement pstmt;


              private static ResultSet rss;


              static int number=1;
              static int f=0;
              static int[] flag = new int[1000];
              static int cnt,cli=0,cnt_s;
              static Vector v;
              static JFrame jframe = new JFrame("MainSever");
              static JPanel contentPane;


                                                         - 868 -
   863   864   865   866   867   868   869   870   871   872   873