Tosken
Posts: 15
Joined: Wed Oct 09, 2013 11:51 am

Java Native wrapper does not forward touch events

Hi,

we have developed a java application which uses OpenGL to render 3D content in fullscreen mode.
We use swing JFrame which contains a opengl panel for drawing.
Additional we use Gestureworks http://gestureworks.com/ to receive multitouch events and gestures.
Gestureworks needs to know the window (JFRame) handle to receive touch events.
Everything works pretty well when i start the deployed application from the command line like:
javaw -jar [params] Start.jar

When i start the application with the exe wrapper the window and thus the app did not receive any touch events.
Is there something special window or context the exe wrapper uses to start the app.
I tried to use gui or cmdline for the application type.
Folowing you can find the ini file the exe wrapper uses:

[Application]
Application Type=gui
Override WorkingDir=yes
[Class Path]
Class Path=...
[Java Runtime Environment]
Main Class=...
Maximum Version=any
Minimum Version=1.7
Virtual Machine Parameters=-Xms500M -Xmx550M -Xss10M -Dlog4j.configurationFile=logging.xml -Djogamp.gluegen.UseTempJarCache=false -Dsun.java2d.noddraw=true
[Product Information]
Upgrade Code={...}
Product Name=...
Product Code={...}

Do anyone has any ideas what could be the problem here?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Java Native wrapper does not forward touch events

Hello,

I'm not sure why this happens. Can you please tell us if your application JAR file uses another dependencies? If so can you please make sure you are adding them into the "Java Library Path" or "System Library Path" section from "Java Products" page -> your Java product -> "Virtual Machine" tab and test again your scenario? If this still doesn't help you, can you please send us the .AIP (project file) and a download link for your installation package to support at advancedinstaller dot com so we can test and investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”