Results 1 to 3 of 3
  1. #1
    Thling90 is offline Member
    Join Date
    Sep 2013
    Rep Power

    Default Help with running .exe from JPanel in Java

    Hi everyone,

    I am a novice in java programming and would like to seek some advise from developers.

    My project requirement is to integrate 2 views into 1 view. So, I will get a .exe and is required to run it from jpanel in java.

    So when I run my java application, .exe is launched as well..

    Anyone can tell me how can I achieve this?? Suggestions and advise pls..

    Thank you!

  2. #2
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Rep Power

    Default Re: Help with running .exe from JPanel in Java

    You can launch external applications from java using the Process class, here is a stack overflow about it. It will not however run "inside" the java context -
    integrate 2 views into 1 view
    - if one of those is some random windows gui app, then you are not going to be able to arbitrarily run it "inside" a java window, nor can the two gui windows communicate directly. Maybe if we had a clearer picture of what you are trying to do we could provide more advice.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Help with running .exe from JPanel in Java

    Thing90, the answer will still be the same, no matter how many threads you start.

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 0
    Last Post: 02-17-2013, 09:21 PM
  2. Replies: 7
    Last Post: 12-18-2011, 04:13 AM
  3. Running a JPanel
    By sarwar1234 in forum New To Java
    Replies: 21
    Last Post: 09-30-2010, 01:49 AM
  4. Running a program in a JPanel
    By ttelloow in forum Advanced Java
    Replies: 5
    Last Post: 07-26-2010, 06:18 PM
  5. Replies: 0
    Last Post: 08-26-2009, 01:03 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts