java chat

simple chat

Page 1 of 1

9 Replies - 2665 Views - Last Post: 26 November 2008 - 04:03 PM Rate Topic: -----

#1 valy0017  Icon User is offline

  • New D.I.C Head

Reputation: -5
  • View blog
  • Posts: 42
  • Joined: 18-November 08

java chat

Post icon  Posted 19 November 2008 - 01:05 PM

i need a simple java chat - a server and some users can connect to it with different nicknames , server ip and port
they send messages on the main chat and if possible between them one-on-one.
Is This A Good Question/Topic? 0
  • +

Replies To: java chat

#2 Nykc  Icon User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 701
  • View blog
  • Posts: 8,577
  • Joined: 14-September 07

Re: java chat

Posted 19 November 2008 - 01:11 PM

[rules][/rules]
Was This Post Helpful? 0
  • +
  • -

#3 valy0017  Icon User is offline

  • New D.I.C Head

Reputation: -5
  • View blog
  • Posts: 42
  • Joined: 18-November 08

Re: java chat

Posted 21 November 2008 - 03:11 PM

how can I use the knock knock protocol ?>
Was This Post Helpful? 0
  • +
  • -

#4 Nykc  Icon User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 701
  • View blog
  • Posts: 8,577
  • Joined: 14-September 07

Re: java chat

Posted 21 November 2008 - 03:26 PM

Why don't you show us what you have so far so we can help you a little better.

To tell someone you want a program will not yield good results. We are not here to do work for you, but will assist you in the learning process.

http://java.sun.com/...ientServer.html

You should really take a look at this site as it can help you tremendously, then post your code and we can help you with your problems.

Thank you,
Was This Post Helpful? 0
  • +
  • -

#5 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8032
  • View blog
  • Posts: 31,202
  • Joined: 06-March 08

Re: java chat

Posted 21 November 2008 - 09:58 PM

View Postvaly0017, on 19 Nov, 2008 - 12:05 PM, said:

i need a simple java chat - a server and some users can connect to it with different nicknames , server ip and port
they send messages on the main chat and if possible between them one-on-one.

If you need a "simple" chat program why did you qualified this post as "Advanced" ?
Was This Post Helpful? 0
  • +
  • -

#6 valy0017  Icon User is offline

  • New D.I.C Head

Reputation: -5
  • View blog
  • Posts: 42
  • Joined: 18-November 08

Re: java chat

Posted 22 November 2008 - 02:39 AM

View Postpbl, on 21 Nov, 2008 - 08:58 PM, said:

View Postvaly0017, on 19 Nov, 2008 - 12:05 PM, said:

i need a simple java chat - a server and some users can connect to it with different nicknames , server ip and port
they send messages on the main chat and if possible between them one-on-one.

If you need a "simple" chat program why did you qualified this post as "Advanced" ?

because i think it's difficult to make a java chat in general.
Was This Post Helpful? 0
  • +
  • -

#7 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8032
  • View blog
  • Posts: 31,202
  • Joined: 06-March 08

Re: java chat

Posted 22 November 2008 - 01:44 PM

View Postvaly0017, on 19 Nov, 2008 - 12:05 PM, said:

i need a simple java chat - a server and some users can connect to it with different nicknames , server ip and port
they send messages on the main chat and if possible between them one-on-one.

Just Googled for java chat program

Got dozen of answers including this one:

http://faculty.ccbcm...gram/jchat.html

free and all the sources are available
Was This Post Helpful? 1
  • +
  • -

#8 valy0017  Icon User is offline

  • New D.I.C Head

Reputation: -5
  • View blog
  • Posts: 42
  • Joined: 18-November 08

Re: java chat

Posted 23 November 2008 - 03:15 AM

thank you
i found some too using google, but there are some errors in them, or maybe eclipse doesn't recognize some libraries or classes, i don't know for sure - a friend told me i must install some additional programs.

I guess i must stick to the basics until i will be able to understand the advanced things
Was This Post Helpful? 0
  • +
  • -

#9 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8032
  • View blog
  • Posts: 31,202
  • Joined: 06-March 08

Re: java chat

Posted 23 November 2008 - 10:32 PM

View Postvaly0017, on 23 Nov, 2008 - 02:15 AM, said:

thank you
i found some too using google, but there are some errors in them, or maybe eclipse doesn't recognize some libraries or classes, i don't know for sure - a friend told me i must install some additional programs.

I guess i must stick to the basics until i will be able to understand the advanced things

I doubt... what is YOUR Eclipse complaining about ?
Was This Post Helpful? 0
  • +
  • -

#10 valy0017  Icon User is offline

  • New D.I.C Head

Reputation: -5
  • View blog
  • Posts: 42
  • Joined: 18-November 08

Re: java chat

Posted 26 November 2008 - 04:03 PM

View Postpbl, on 23 Nov, 2008 - 09:32 PM, said:

View Postvaly0017, on 23 Nov, 2008 - 02:15 AM, said:

thank you
i found some too using google, but there are some errors in them, or maybe eclipse doesn't recognize some libraries or classes, i don't know for sure - a friend told me i must install some additional programs.

I guess i must stick to the basics until i will be able to understand the advanced things

I doubt... what is YOUR Eclipse complaining about ?


it was my mistake - i didn't know how to organize the files in the project
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1