Results 1 to 3 of 3
  1. #1
    josh2992 is offline Member
    Join Date
    Apr 2011
    Rep Power

    Default How to code a program to send messages to a chat program?

    Hey all,

    As you have probably guessed, since this is in the 'New To Java' section, i am new to java =D.

    I have used it for a short time now as part of my uni course. Anyway i wanted to do some of my own work rather than the simple stuff we are making in class at the moment.

    I was wondering if it is possible to code a program that will send messages in MSN, other chat programs or even into any kind of text holding program (ie. notepad or the URL bar in a browser). To give you an idea of what i might hope to achieve, i might use this to enter text into the java program and that text is then processed in someway to alter it (as an example, the text is typed out in reverse) and then the altered text is then sent to another program such as a chat client.

    Any help on this would be awesome and please keep things as basic as possible, or if there is a complex piece of code being used, could you please explain it as best you can.

    Thanks in advance,


  2. #2
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Richmond, Virginia
    Blog Entries
    Rep Power


    I suggest you look up using sockets and network programming in the sun tutorials. They should be able to help you accomplish what you want, if that's not quite what you are looking for come back and let us know, either way reading the tutorials is always a great source of information.

  3. #3
    UJJAL DHAR is offline Senior Member
    Join Date
    Apr 2010
    Rep Power

Similar Threads

  1. Two-way chat, how can I be able to send messages?
    By Vortexnl in forum New To Java
    Replies: 4
    Last Post: 02-05-2011, 09:21 PM
  2. can't send messages correctly [chat]
    By michail in forum New To Java
    Replies: 1
    Last Post: 05-11-2010, 10:24 AM
  3. MultiThreading Chat Program
    By Noelf21 in forum Threads and Synchronization
    Replies: 2
    Last Post: 12-23-2009, 10:49 AM
  4. simple chat program
    By munishmhr in forum Networking
    Replies: 2
    Last Post: 03-25-2009, 04:00 PM
  5. Java Program chat
    By susan in forum Advanced Java
    Replies: 1
    Last Post: 07-25-2007, 09:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts