Re: visual editor
Posted by
Brandon Borkholder on
Apr 30, 2012; 1:17pm
URL: https://forum.jogamp.org/visual-editor-tp3947797p3950735.html
I'm grateful if you drop some lines of how can a read a dxf file and put it into jogl. Just a little example please!
The simplest example is
JFrame frame = new JFrame();
frame.setContentPane(new G2DGLPanel(new YcadvPane()));You just need to wrap the panel you want to render in a G2DGLPanel and then add the G2DGLPanel to a frame or window.
Note that the version 0.1 of glg2d (which is the only stable branch so far) uses JOGL 1.x.
sindroide, I sent you an email. Feel free to follow up with me directly and we can discuss glg2d specifics.