Make test main method load a rocket
This commit is contained in:
parent
651b9d6418
commit
007f760782
@ -229,6 +229,10 @@ public class PhotoFrame extends JFrame {
|
|||||||
pa.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
pa.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||||
pa.setTitle("OpenRocket - Photo Studio Alpha");
|
pa.setTitle("OpenRocket - Photo Studio Alpha");
|
||||||
pa.setVisible(true);
|
pa.setVisible(true);
|
||||||
|
|
||||||
|
GeneralRocketLoader grl = new GeneralRocketLoader(new File("C:/Users/bkuker/git/openrocket/swing/resources/datafiles/examples/A simple model rocket.ork"));
|
||||||
|
OpenRocketDocument doc = grl.load();
|
||||||
|
pa.photoPanel.setDoc(doc);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user