Sunday, January 23, 2011

Server Implementation: Simple, yet improved JAVA Server Client Application

This requires basic knowledge on GUI in java. So make sure you have it.

First we will build the Server side.

Create an simple interface.

Create a JFrame, on that create a JScrollPane.
On the JScrollPane create a JTextArea.
Rename the JTextArea to statusArea.


Add the following methods to the JFrame class. Add this method like when you normally add a method to a class.



Now the server is done.....

Note: you can find the complete source code at the end of the Last post of the tutorial

No comments:

Post a Comment