File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes How to create? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to create?" Watch "How to create?" New topic
Author

How to create?

Mandar Khire
Ranch Hand

Joined: Sep 11, 2007
Posts: 485
I want to create small java program for ping to Default Gateway. My application should catch my Default gateway automatically or manually, when i click on button named ping, it should start to show me result in command prompt like 'reply from xxx.xxx.xxx.xxx: byte = 32 time = xx ms TTL=255' continuously.

Always i write in Run as this 'ping xxx.xxx.xxx.xxx -t' & the result showing me that manner. But i bore by this.
How should i do this? Small hint only. So i can start coding.


Millions saw the apple fall, but Newton asked why.
If you understand, say "understand". If you don't understand, say "don't understand". But if you understand and say "don't understand". How do I understand that you understand? Understand!
Brian Spindler
Greenhorn

Joined: May 17, 2007
Posts: 29
little searching on google turned up: http://www.wikijava.org/wiki/Execute_external_program_(ping_and_complain)
Mandar Khire
Ranch Hand

Joined: Sep 11, 2007
Posts: 485
Thanks!
& Sorry also i don't follow this.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9280
    
  17

Mandar Khire wrote:& Sorry also i don't follow this.


You don't or you didn't


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
Don't get me started about those stupid light bulbs.
 
subject: How to create?
 
Similar Threads
regarding broadband internet connection problem
invoke EJB on a remote machine with dynamic IP
Websphere Stopping Issue
Single Sign on
how i do this?