+ private static void buildAndShowGuiWindow() {
+ JFrame frame = new JFrame("Sixth 3D engine demos");
+
+ // Keep application running until last frame is closed.
+ frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
+
+ frame.getContentPane().setLayout(new BorderLayout());
+ frame.getContentPane().add(new ApplicationListPanel(), BorderLayout.CENTER);
+ frame.setSize(400, 300);
+
+ frame.setLocationRelativeTo(null); // center frame on screen
+ frame.setVisible(true);