Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

chating java applet

Posted on 2006-06-11
2
Medium Priority
?
319 Views
Last Modified: 2010-04-17
Hi

iv download from this link

http://www.javaworld.com/javaworld/jw-01-1997/chat/applet.html

an example for an applet chating program

but the problem that there are 4 classes and i dont know form where to start to get this example work

there is chatserver , chatclient , chatapplet and chathandler

so please can anybody give me a hint ,, so far i could start  the chatapplet on a browser on the port 25

thanks
0
Comment
Question by:YASAR_SAID
2 Comments
 
LVL 16

Accepted Solution

by:
suprapto45 earned 2000 total points
ID: 16881532
Hi,

You can get the zip file from
http://www.javaworld.com/javaworld/jw-01-1997/chat/Chat.zip

Then, you need to compile all of them using javac. Create one HTML file to load the ChatApplet (main class).

Look at
http://java.sun.com/docs/books/tutorial/uiswing/components/applet.html

For the port, you change the ChatApplet port into 25. However, are you sure to put the port as 25 as normally 25 is used for SMTP?

Thanks
David
0
 

Author Comment

by:YASAR_SAID
ID: 16886269
Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Loops Section Overview

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question