I need a very simple Java-applet with its source.
With this applet i want to connect to my own chat system.
It should look like a normal chat window:
one chat window
one listbox on the right
one editbox for the text to send
one 'send' button ...sending by pressing enter would be nice too ;)
just like this one: [url removed, login to view]
The protocol:(still flexible!)
receiving: (strings send by server)
|add|name -> add 'name' in the listbox
|del|name -> delete 'name' from the listbox
|msg|0..5|text -> wirte 'text' to the chat window. With 0..5 it should
be possible to choose the color of the text
i.e. 0=black, 1=red ...
|url|url -> open 'url' in a new browser window
|PING| -> answer allways with '|PONG|'
|msg|text -> send the text from the editbox to the server
When the applet is connected to the server it should start with
It should be possible to choose the serverport,backgroundcolor,
nickname,height and width in the tag.