This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes how to call .exe file by clicking the JButton..? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to call .exe file by clicking the JButton..?" Watch "how to call .exe file by clicking the JButton..?" New topic
Author

how to call .exe file by clicking the JButton..?

Siddharth Ramavat
Ranch Hand

Joined: Feb 03, 2005
Posts: 41
I want to know that how can i call any .exe file by clicking the JButton object in my swing application...?

can u help me regarding the same...?

Thank You,

Siddharth Ramavat
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Runtime.getRuntime().exec()


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Hi, siddhu

Welcome to JavaRanch! Please adjust your display name to meet the JavaRanch Naming Policy.
You can change it here.

Thanks!


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to call .exe file by clicking the JButton..?
 
Similar Threads
how to call .jar file by clicking the JButton..?
Call another Application
Stand Alone .exe
JNI
How to create EXE file in java