View Single Post
  #1 (permalink)  
Old 08-07-2007, 07:06 PM
benedums benedums is offline
Member
 
Join Date: Aug 2007
Posts: 1
benedums is on a distinguished road
Launch native app inside a JFrame???
I know it's possible to launch an application from java but is it possible to launch an application and have it open as a JInternalFrame or similar inside a JFrame?

Here is the code for executing a command line arg.
public static void execute(String filePath){
try{
(Runtime.getRuntime()).exec(filePath);
} catch (IOException e) ;
}
Could you cast the runtime as a process and add that to an internal frame or jpanel? Not sure how that would work though...

Anyone have an idea how to do this?
Or if this is even possible?
Reply With Quote
Sponsored Links