BlendInspect

hello,

i have written a small tool that visualizes the behaviour of the opengl blendmodes.
since it is maybe useful for some of you guys, i packed it in a jar and made it webstartable

you can webstart it here: http://www.embege.com/blendinspect/

any feedback is welcome! (even if it is completely senseless, tell me :wink: )
i would especially be happy to know if it runs on a mac, since that is the only platform i couldnt test it. thanks!

Doesnā€™t seem to work right on Linux (Fedora 7, JDK 1.6.0_01), I just get this tiny window which I canā€™t resize. No errors in the console.

thank you very much for the information. do other jogl-webstart applications work for you?

I didnā€™t work with my Mac Powerbook Pro, it had an java.lang.Exception in the Launcher class. Iā€™m nor sure whatā€™s wrong since Iā€™m not a very big webstart guy, however I havenā€™t tweaked with any java or webstart settings, so there shouldnā€™t be anything that Iā€™ve done to make my problem unique to my box. Anyway, best of luck.

thanks for the information. do other jogl-webstart application like the jogl-demos work for you?
thanks!

Most of the jogl-demos work if I recall as well as the jME demos, so I know webstart is capable of working on my computer.

thanks! hmmm, thatā€™s strange. does anyone know what could be wrong with this jnlp file?


<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://www.embege.com/blendinspect/" href="blendinspect.jnlp">

<information>
  <title>BlendInspect</title>
  <vendor>Matthias Grumet</vendor>
  <homepage href="http://www.embege.com" />
  <description>BlendInspect - OpenGL BlendMode inspection</description>
  <offline-allowed/>
</information>


<security>
	<all-permissions/>
</security>

<resources>
      <j2se href="http://java.sun.com/products/autodl/j2se" version="1.5+"/>
      <jar href="BlendInspect.jar" />
      <extension name="jogl" href="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp" />
</resources>


<application-desc main-class="com.embege.blendinspect.BlendInspect"/> 

</jnlp>

This is the exact exception I get if it helps you any:
java.lang.Exception
at com.sun.javaws.Launcher.continueLaunch(Launcher.java:898)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:522)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
at com.sun.javaws.Launcher.run(Launcher.java:165)
at java.lang.Thread.run(Thread.java:613)

Worked great on Windows XP SP2 with the latest Java (actually, a Java 7 development build).

lhkbob, thanks very much for the information.
i will need to look into this further. maybe it is a java-version problem, since i have only tested it with java6.

meanwhile, i am happy about any other feedback. :wink:

I have the same problem (tiny window) when I open it the first time. When I try to open it a second time (while the tiny window is stil open, it works like it should.
Linux
JDK1.6.0

thanks a lot for the information! with tiny window you mean the java-webstart splash screen?

No, just a smal (3 mm by 10mm approx).
To be more precise, it seems to start at normal size (just a split-second), an then it goes to mini.

hm, interesting. though yet i have no idea what the problem could be.

Show us the code and we might be able to help :slight_smile:

the problem is, that the exception occurs in code which is not mine. (see lhkbobā€™s post above)
it happens somewhere in the java-webstart launcher code.

so i could actually post the complete code, which is quite a number of java-files, but i dont think that would help.

The exception lhkbob isnā€™t enough to make a diagnosis. Thereā€™s another tab in the window which pops up like ā€œwrapped exceptionā€ or similar which should have the real root cause.

ah thanks! i didnt realize that.

maybe someone (lhkbob? :slight_smile: ) can post that exception too, so that we can further investigate the issue.

thanks a lot!

I peaked into it further (there was no wrapped exception tab, but I remembered to check the actual console) and itā€™s a java.lang.UnsupportedClassVersionError. So if Iā€™m not mistaken, thatā€™s probably because I have java 1.5. So, sorry for leading you on, and it works fine for windows machine.

ah, ok
i was building it with 1.6 so maybe thatā€™s the problem.

edit: ok i am using ant for my deployment. does anyone know how to configure it to build it with 1.5 compliance. is that a compiler flag?

thanks!