\r
@Override public int getVersion () {\r
return 0;\r
- }\r
-\r
- public static void main(String[] argv) {\r
- ApplicationListener listener = new ApplicationListener() {\r
- \r
- @Override\r
- public void resume() {\r
- System.out.println("resumed");\r
- }\r
- \r
- @Override\r
- public void render() {\r
- System.out.println("render"); \r
- }\r
- \r
- @Override\r
- public void pause() {\r
- System.out.println("paused"); \r
- }\r
- \r
- @Override\r
- public void dispose() {\r
- System.out.println("destroy"); \r
- }\r
- \r
- @Override\r
- public void create() {\r
- System.out.println("created"); \r
- }\r
-\r
- @Override\r
- public void resize(int width, int height) {\r
- System.out.println("resize");\r
- }\r
- };\r
- \r
- new JoglApplication(listener, "Jogl Application Test", 480, 320, false);\r
- }\r
+ } \r
\r
@Override\r
public long getJavaHeap() {\r