And now for something completly different, Was: Re: Requires JDOM?
| Newsgroups | gmane.comp.embedded.carlsbad-cubes |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > looks around... Does the list is interested in some code integrating the new jogl OpenGL binding with swix? Or maybe somebody has already done that? I would like to share some thoughts about the topic. What i did so far, is to create a JoglFactory class to be registered with the Swix engine, something like: // register the jogl factory with the swix engine SwingEngine swix = new SwingEngine( this ); TagLibrary taglib = swix.getTaglib(); taglib.registerTag("glcanvas", new GLCanvasFactory()); some questions now: why is the DefaultFactory class final? What is the DefaultFactory.newInstance( Object parameter ) throws Exception method supposed to do? i can't find any use of it. The third question i forgot. dirk.