| | |
Chat program
![]() |
•
•
Join Date: Oct 2006
Posts: 5
Reputation:
Solved Threads: 0
Hi,
I would like to create a simple chat program. Could you advice me which Java technology should I best look at. I did a tutorial from sun.com about Socket programming. Do I use this for such a simple chat program and if yes, how do I connect two clients. Thank you in advance if you give me advice which part of Java should I read or any nice and simple tutorials (Java novice).
Cheers :eek:,
greywolf
I would like to create a simple chat program. Could you advice me which Java technology should I best look at. I did a tutorial from sun.com about Socket programming. Do I use this for such a simple chat program and if yes, how do I connect two clients. Thank you in advance if you give me advice which part of Java should I read or any nice and simple tutorials (Java novice).
Cheers :eek:,
greywolf
Yes, you will need networking code and thus sockets (or RMI, but that's built on top of sockets).
You'll also need multithreading, and some user interface technology (most likely Swing).
Learn each separately, then try combining them.
The code required is non-trivial, best get a good book on Java network programming to get you started (the Swing part is secondary to a good communications layer, which should function independently of that user interface).
You'll also need multithreading, and some user interface technology (most likely Swing).
Learn each separately, then try combining them.
The code required is non-trivial, best get a good book on Java network programming to get you started (the Swing part is secondary to a good communications layer, which should function independently of that user interface).
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
![]() |
Similar Threads
- Chatting Program - Throws IO Exception (Java)
- chat program (Java)
- Help with programming a chat program. (Urgent) (Visual Basic 4 / 5 / 6)
- How do i do chat program using MFC (Microsoft Foundation Classes) and Visual Basic? (Visual Basic 4 / 5 / 6)
- chat program concept using c++ (C++)
- chat program (JSP)
Other Threads in the Java Forum
- Previous Thread: makingit52000
- Next Thread: Audio signal filter - Help!
| Thread Tools | Search this Thread |
account android api applet application array arrays automation awt bidirectional binary birt bluetooth busy_handler(null) chat class classes client code columns component database designadrawingapplicationusingjavajslider draw eclipse error errors eventlistener exception expand fractal game givemetehcodez graphics gui guidancer homework html ide image inetaddress inheritance integer intellij j2me java javamicroeditionuseofmotionsensor javaprojects jlabel jme jni jpanel jtextfield julia linux list loop map method methods midlethttpconnection mobile mobiledevelopmentcreatejar monitoring myaggfun netbeans newbie nullpointerexception open-source plazmic print problem program programming project property recursion ria scanner search server set smart sms smsspam sort sourcelabs splash sql sqlite static string subclass support swing testautomation threads tree webservices windows






