• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

windows pop up message

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey everyone! i'm in the need of a little help.
how do i send a simple text message from one windows box to another that will be displayed on the other windows box screen? ( i.e ) user A sends a "have you visited javaranch" message to user B, the message will automatically displayed on the user A's screen.
many thanks,
-MCore
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I take it that ur trying to send a message from one
PC to another. For this to happen you will
need to use low level socket programming or high
level options such as RMI or CORBA
Hope this helps,
PJ

[This message has been edited by Prashanth Joisha (edited September 26, 2001).]
 
mcore
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
is there a way to use "Net Send" with java?
 
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know what Net Send is, but generally if you want to use a funny protocol, you have to write the code yourself. Try searching google, sourceforge, or freshmeat for code.
 
mcore
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Net Send: simply sends a message to a user/domain on your network.
found it. you can use windows dos command net send like so:
class NetSend
{
public boardCastMsg ( String msg, String ip ) {
String arg = "net send " + ip + " " + msg;
System.out.println(arg);
Process p = Runtime.getRuntime().exec(arg);
}
}
thanks for the help.
-MCore
 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That is really cool. I did not know that a command like that existed.
Winpopup was the only means i knew of for 'instant messaging'.
Thanks for the info.
 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That is pretty cool. It will also resolve names so you can either use the ip or the computer name.
 
author
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A variety of posts mentioned one particular platform-dependant
instant messaging program.

For a "cross-IM-platform" instant messaging, which does have at least one Java client, check out Jabber.

Jabber can talk to AIM, ICQ, IRC, etc., from a single client.
------------------
Ian Darwin,
Author of Java Cookbook: Solutions and Examples for Java Developers
 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Could pls tell me how to do the pop up windows while sending the instant message from one client to other client Like yahoo, msn and ICQ. The popup window will automatically come if he gets the instant message from other user.
Looking forward your earlier reply.
Cheers
Jowsaki

Originally posted by shilpa kulkarni:
That is really cool. I did not know that a command like that existed.
Winpopup was the only means i knew of for 'instant messaging'.
Thanks for the info.


 
reply
    Bookmark Topic Watch Topic
  • New Topic