This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Problem displaying Java application
- From: Shayne Steele <steele at cs dot fsu dot edu>
- To: cygwin-xfree at sources dot redhat dot com
- Date: Wed, 14 Nov 2001 19:35:03 -0500 (EST)
- Subject: Problem displaying Java application
Hello
This jar file
http://www.cs.fsu.edu/~cis3931/01fall/assignments/a5/Project5.jar
works when run under MS-Windows or using StarNet
X-Win32 (the color chooser does not work under X-Win32), but fails
with XFree86, with the following error:
Exception occurred during event dispatching:
java.lang.InternalError: Unsupported 16-bit depth
at sun.awt.motif.X11Graphics.X11LockViewResources(Native Method)
at sun.awt.motif.X11Graphics.lock(X11Graphics.java:847)
at sun.java2d.loops.LockableRaster.<init>(Compiled Code)
at sun.java2d.loops.RasterOutputManager$RenderImageCachedState.getDstLR(RasterOutputManager.java:368)
at sun.java2d.loops.RasterOutputManager.renderImage(RasterOutputManager.java:479)
at sun.java2d.SunGraphics2D.renderingPipeImage(Compiled Code)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1633)
at sun.awt.motif.X11Graphics.drawImage(X11Graphics.java:591)
at javax.swing.JComponent.paintWithBuffer(Compiled Code)
at javax.swing.JComponent._paintImmediately(Compiled Code)
at javax.swing.JComponent.paintImmediately(Compiled Code)
at javax.swing.RepaintManager.paintDirtyRegions(Compiled Code)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:199)
at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEventQueueUtilities.java:399)
at javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilities.java:395)
at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(SystemEventQueueUtilities.java:436)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(Compiled Code)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
--
Shayne Steele Graduate Student in Computer Science at FSU
steele@cs.fsu.edu http://www.cs.fsu.edu/~steele/
With great abilities come great responsibilities. -- Stan Lee