import java.awt.event.WindowAdapter;\r
import java.awt.event.WindowEvent;\r
\r
+import javax.media.opengl.GLCanvas;\r
import javax.swing.JFrame;\r
import javax.swing.SwingUtilities;\r
\r
@Override public long getNativeHeap () {\r
return getJavaHeap();\r
}\r
+ \r
+ /** \r
+ * @return the JFrame of the application.\r
+ */\r
+ public JFrame getJFrame() {\r
+ return frame;\r
+ }\r
+ \r
+ /**\r
+ * @return the GLCanvas of the application.\r
+ */\r
+ public GLCanvas getGLCanvas() {\r
+ return graphics.canvas;\r
+ }\r
}\r