// get data
adt obj = (adt)of.obj;
// 3D Init
GLCanvas glScene = null;
Tutorial2 glEvents = null;
JPanel r = new JPanel(new BorderLayout());
r.add(new JLabel ("To be written."));
// handle events
glScene = new GLCanvas();
for(Plugin p : pp) {
if(p.getClass().toString().endsWith("mpqFileRequest"))
glEvents = new Tutorial2(obj, fm, p);
}
glScene.addGLEventListener(glEvents);
r.addKeyListener(glEvents);