Search found 3 matches

by Brammel
Fri May 11, 2007 7:35 am
Forum: Developer's Forum for Windows
Topic: Windows example to read the SpaceNavigator
Replies: 7
Views: 17339

If you just don't want to see the window you can do this in JAVA:

Code: Select all

MainFrame m = new MainFrame(new HelloUniverse(), 256,256);
m.setVisible(false);
Then the window is completely invisible and removed from the taskbar.
by Brammel
Wed May 09, 2007 3:14 am
Forum: Developer's Forum for Windows
Topic: Example in JAVA
Replies: 21
Views: 64521

I found the solution! My java classes are located in: package my.package; If you compile the dll in Visual C++ 2006, change line 109 of JNIsiapp.c to static jobject __gObj={0}; And line 1988 fid = (*env)->GetFieldID(env, cls, "event", "LJNIsiapp$SiSpwEvent;"); to fid = (*env)->Ge...
by Brammel
Wed May 09, 2007 1:56 am
Forum: Developer's Forum for Windows
Topic: Example in JAVA
Replies: 21
Views: 64521

Thanks jim, I downloaded the JNI example on the ftp, and it works fine if you leave the JNIsiapp.class in the default package. Unfortunatly, if you try to put it in another package ( materiel.capteur3d in my case), it fails without any exception. I get a loop of the message "SpacemouseDevice: ...