View Single Post
  #6 (permalink)  
Old 04-03-2008, 12:53 PM
Eranga's Avatar
Eranga Eranga is offline
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,545
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Ok, I'll explain it in simple way as follows.


Code:
public class Client{ String username; // Get the user name through a GUI and set it to username // Object for class Server Server myServer = new Server(); myServer.isValid(username); } public class Server{ // Check that username is correct public void isValid(String name){ // Check that user name is valid, and so do the process } }
Is that clear now, or need more explanations.

Actually if you don't know how those basis things done, please spend some time with Java fundamentals. If you don't know such things to do, how can you handle a server-client application.

In a such a project you have to do much more than this, it's not going to be easy for you pal
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote