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 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 Soft Skills this week in the Jobs Discussion 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: 9053
    
  12
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
 
 
subject: how to call .exe file by clicking the JButton..?