I have been developing some Swing/jogl application. The Swing part uses SwingApplicationFramework.
Main function of the app is drawing fractals. It is done by some recurent function that draw lines:
gl.glNewList(genlist, gl.GL_COMPILE);
gl.glBegin(GL.GL_LINES);
draw fancy lines
gl.glEnd();
gl.glEndList();
Is there any possible way to do it on background thread? This would really help. If someone cranks up
resolution too much and it it runs on background there would be a nice and clean way to cancel it. At this
time my application hangs.
To help You better understand the problem, here is the recent snapshot: http://maciek.t4.ds.pwr.wroc.pl/dist/launch.jnlp
And here’s whole project: ftp://maciek.t4.ds.pwr.wroc.pl/pub/NetBeansProjects/Fractals/src
Thanks in advance.