| | |
anyone who know how to develop a messenger?
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Get a book from school library Java How to Program 6th edition from Deitel and read chapter 24. That will give you an idea where to start
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Me and a friend of mine developed two chat programs as thought experiments into threading when we were first starting out in Java.
The first was a console based program that used processor threading to read/write to a text file stored over a shared network drive. It had simple admin functions such as ban/silence/clear file and was a fantastic example of learning the client-server relationship.
You can download that program here:
http://www.gamegeneration.net/forums...4&postcount=13
You can use that to get some ideas on how you could handle some of the functionalities that you want to.
The second program was more similar to what you were wanting to write. It had a simple gui, sent messages over the internet like a program such as AIM would, and could add/delete people off a friends list stored in an XML file.
I'm sorry I don't have a copy of that program to show you, but it can be done using Java's connectivity classes in a fairly small size.
The first was a console based program that used processor threading to read/write to a text file stored over a shared network drive. It had simple admin functions such as ban/silence/clear file and was a fantastic example of learning the client-server relationship.
You can download that program here:
http://www.gamegeneration.net/forums...4&postcount=13
You can use that to get some ideas on how you could handle some of the functionalities that you want to.
The second program was more similar to what you were wanting to write. It had a simple gui, sent messages over the internet like a program such as AIM would, and could add/delete people off a friends list stored in an XML file.
I'm sorry I don't have a copy of that program to show you, but it can be done using Java's connectivity classes in a fairly small size.
I agree with thegathering, the best way to make a chat program is usually to write inputted lines to a .txt file. This not only works very smoothly but can also be tooled to archive chat lines as well. Good luck!
Beware of the Rancor. I'm not kidding.
If it doesn't compile, try saying "By the power of MegaMan!!!" <this has kinda worked for me, actually...>
Scotland is NOT North Britain, Glasgow does NOT rhyme with "cow", and Robbie Burns is...well, if you don't already know who he was, you're kinda screwed.
If it doesn't compile, try saying "By the power of MegaMan!!!" <this has kinda worked for me, actually...>
Scotland is NOT North Britain, Glasgow does NOT rhyme with "cow", and Robbie Burns is...well, if you don't already know who he was, you're kinda screwed.
•
•
•
•
ok. but actually i still don't get a picture on how to start my project.
Start with a list of requirements and work on design from there.
•
•
Join Date: Jul 2007
Posts: 4
Reputation:
Solved Threads: 0
as i said before, it must have the basic features juz like send and receive msg(chat), add friends( require login)..em..of course it will have GUI like any other messenger..it does not specifically have to be on the internet but if i manage to develop it, it will be used on LAN in my faculty..can i use jave xml to the develop this..?
>can i use jave xml to the develop this
Can you justify why do you need to use XML and how you intend to use it?
Can you justify why do you need to use XML and how you intend to use it?
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
![]() |
Similar Threads
- Help me to develop Messenger Project (IT Professionals' Lounge)
Other Threads in the Java Forum
- Previous Thread: how to program parallel port
- Next Thread: making multiple files
Views: 2438 | Replies: 9
| Thread Tools | Search this Thread |
Tag cloud for Java
911 addressbook android api append apple applet application arguments array arrays automation binary bluetooth character chat class classes client code component csv database draw eclipse error event exception file fractal ftp game givemetehcodez graphics gui helpwithhomework html ide image input integer j2me japplet java javaarraylist javaprojects jmf jni jpanel julia linked linux list loop map method methods mobile netbeans newbie number object objects oracle oriented panel print printf problem program programming project projects recursion replaydirector reporting researchinmotion return robot rotatetext scanner screen se server set size sms socket sort sql stream string swing test threads time transfer tree ubuntu windows






