if (currentDemo == entry) return;
currentDemo = entry;
try {
DemoApplication demoApp = entry.cls.getConstructor(IGL.class).newInstance(demoPanel.getGL());
demoApp.initPhysics();
demoPanel.runDemo(demoApp);
demoPanel.requestFocusInWindow();
}
catch (Exception e) {