aspose 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 Spring in Action this week in the Spring 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: 501

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.
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: 501

Thanks!
& Sorry also i don't follow this.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9305
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create?