As a simple guess I would say that the RH-Box uses 16-Bit Color which
the JRE on the hp and aix not supports. Try setting the Linux-Box to
more Colors.
Oktay
On Thu, 9 Aug 2001, Amol Kulkarni wrote:
> Hi All,
> I am running a gui tool devloped using swings with jdk1.2 on hp and aix
> platform. I am doing this on another m/c and viewing the
> gui on a RHL7.1 box. But when the gui is invoked it gives the following
> error
>
> "java.lang.InternalError: Unsupported 16-bit depth"
> at sun.awt.motif.X11Graphics.X11LockViewResources(Native Method)
> at sun.awt.motif.X11Graphics.getImageType(X11Graphics.java:885)
> at
> sun.java2d.loops.LockableRaster.<init>(LockableRaster.java:102)
> at
>
>sun.java2d.loops.RasterOutputManager$RenderImageCachedState.getDstLR(RasterOutputManager.java:395)
>
> at
> sun.java2d.loops.RasterOutputManager.renderImage(RasterOutputManager.java:506)
>
> at
> sun.java2d.SunGraphics2D.renderingPipeImage(SunGraphics2D.java:2024)
> at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1616)
> at sun.awt.motif.X11Graphics.drawImage(X11Graphics.java:465)
> at
> sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:684)
>
> at sun.awt.motif.X11Graphics.drawImage(X11Graphics.java:645)
> at ZeroGw.paint([DashoPro-V1.2-120198])
> at java.awt.Container.paint(Container.java:778)
> at ZeroGu.paint([DashoPro-V1.2-120198])
> at ZeroGu.update([DashoPro-V1.2-120198])
> at
> sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:279)
> at java.awt.Component.dispatchEventImpl(Component.java:2456)
> at java.awt.Container.dispatchEventImpl(Container.java:1040)
> at java.awt.Component.dispatchEvent(Component.java:2316)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:366)
> at
> java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
>
> Any ideas as to why this happens. When i open it through an solaris box
> it opens nicely
>
> Thanks and regards
> Amol
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]