Quote:
Originally Posted by nogono SocketClient frame = new SocketClient(); frame.setTitle("Client Program"); WindowListener l = new WindowAdapter() { publicvoid windowClosing(WindowEvent e) { System.exit(0); } }; frame.addWindowListener(l); frame.pack(); frame.setVisible(true); frame.listenSocket(); Can u understand me whole program........ |
From the code that you gave me, it doesn't give me much information of what kind of application are you trying to create. But you named your class pretty well so I guess you're trying to create some kind of networking application. However, what does:
Code:
frame.listenSocket();
that do in your program?
The rest of your code is just the general setup for GUI