View Full Version : How to get Java to open a new window?
NRLstudent
06-21-2005, 04:51 PM
Currently I am trying to integrate a Java program with Matlab, and it is going fine, however I need java to open up another command prompt, because currently it interferes with another program that is running.
Any help would be much appreciated.
nikkiH
06-21-2005, 05:47 PM
Are you looking for Runtime.getRuntime().exec("system command")?
Not cross-platform, though.
http://www.mountainstorm.com/publications/javazine.html
suryad
06-21-2005, 08:00 PM
How about just call Frame matllabframe - new JFrame("insert title here");
I think that should work.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.