This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 9033
    
  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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to call .exe file by clicking the JButton..?
 
Similar Threads
JNI
How to create EXE file in java
how to call .jar file by clicking the JButton..?
Call another Application
Stand Alone .exe