Solved

Need help in creating Chat (Java applet)

Posted on 2003-11-23
5
331 Views
Last Modified: 2010-04-06
I'm trying to create a simple-to-use java IRC applet, since the users will be mainly business personels, I need a really user friendly GUI.

The users probably wouldn't know how the IRC function, therefore buttons like "Create Room", "Private message user", etc needs to be created for commands like /query, /join. I also require a logging feature that would log all private and channel messages, perhaps creating a txt file in the server (usernick#channelName-date.log) or store in a database.

I'm not experienced in java programming that requires socket connections(?). Are there any (detailed)tutorials or suitable Open source chat applet that I could refer to? I've tried applets like PJIRC but there's just too many things and it's confusing.

Urgent. Thanks in advance.
0
Comment
Question by:lewin85_sg
5 Comments
 
LVL 8

Accepted Solution

by:
tncbbthositg earned 250 total points
ID: 9813178
0
 

Assisted Solution

by:pwagener
pwagener earned 250 total points
ID: 9861070
If you're able to use any of the ones TNC provides, then by all means do so.  Re-inventing the wheel is only interesting for the first few days... after that it gets painful.  Parachat is a proven solution.

But, if you're hell-bent on rolling your own, here's where I'd start.  In general, the online Java tutorial has plenty of info you'll find useful:

http://java.sun.com/docs/books/tutorial/

The "Bingo" application is a full-blown client/server application that'll show you the in's & out's of socket programming.  If you're sure you want to write an applet, see the 'Writing Applets' trail....  Check out the 'Custom Networking' trail as well for a full explaination of the networking details.


HTH,

Peter
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

809 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