We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › OpenGL .jar files are no longer double-clickable
Page Index Toggle Pages: 1
OpenGL .jar files are no longer double-clickable (Read 737 times)
OpenGL .jar files are no longer double-clickable
Apr 28th, 2006, 1:41am
 
In 0111, the .jar files that are exported can be double-clicked, now they complain "could not find main class".
Is it because the JOGLAppletLauncher isn't provided the name of the subapplet when you double click?

In the HTML we have a param tag that gives the subapplet argument... but I guess there's no way to set the default argument of the Launcher in a custom manner (for each sketch)
<param name="subapplet.classname" VALUE="ClusterVisualization3DBarRing">

I miss executable .jar files ...
Re: OpenGL .jar files are no longer double-clickab
Reply #1 - Apr 28th, 2006, 3:27pm
 
man, i can't win.. i get opengl applets to export and for sketches to write out separate jar files, and people start complaining about double-clickable jars no longer working... Wink

double clickable jars for opengl won't be coming back. they're not a good idea because you need different stuff for each, including all the DLLs or jnilib files for each platform, and you're not guaranteed that they'll be located in the proper place or installed on the system. better to use export to application.

i don't understand the other half of your question.
Re: OpenGL .jar files are no longer double-clickab
Reply #2 - Apr 28th, 2006, 8:00pm
 
Nah I was just used to them that's all. No worries. The export works great though! Awesome stuff.

As for the second part of my question, I was just wondering if there's a way to set the subapplet.classname argument statically (embedded in the jar file).
Re: OpenGL .jar files are no longer double-clickab
Reply #3 - May 2nd, 2006, 8:29pm
 
he hi .. do u have openGL.jar file .. if yes can u send it me..
Page Index Toggle Pages: 1