I'm trying to run Java3D in fullscreen mode under windows XP.  Specifically
the fullscreen demo at http://www.computerbooth.com/j3d/FullscreenDemo.zip.
Actually, running it works just fine.  I run into trouble when I use
ALT-TAB to switch away from fullscreen mode.  At this point, the virtual
machine ungracefully terminates with an error:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
PC=0x300AD19
Function=Java_sun_awt_windows_WToolkit_printWindowsVersion+0x1CB9
Library=C:\j2sdk1.4.2_06\jre\bin\awt.dll

Current Java thread:
        at sun.awt.windows.WComponentPeer.nativeHandleEvent(Native Method)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:268)
        at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusMa
nager.java:658)
        at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocu
sManager.java:831)
        at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocu
sManager.java:741)
        at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManag
er.java:592)
        at java.awt.Component.dispatchEventImpl(Component.java:3506)
        at java.awt.Component.dispatchEvent(Component.java:3477)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:201)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

OR this:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
PC=0x2FE83AC
Function=Java_sun_awt_windows_WColor_getDefaultColor+0x5D58
Library=C:\j2sdk1.4.2_06\jre\bin\awt.dll

Current Java thread:
        at sun.awt.windows.WToolkit.eventLoop(Native Method)
        at sun.awt.windows.WToolkit.run(WToolkit.java:262)
        at java.lang.Thread.run(Thread.java:534)


---

I actually noticed this error a number of months ago and at that time,
reported it to Sun on the developer connection.  All I ever got back was
the automated "We've recieved your error report and someday might possibly
read it."

Anyway, I'm wondering:
1.  Has anybody else experienced this error?  Has anyone managed to create
a fullscreen Java3D application that doesn't produce this sort of error?
Is there any kind of workaround?

2.  Should I report the problem to Sun again?

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to