Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4219699

Unsupported 16-bit depth error when executed from remote X server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0, 1.2.1
    • client-libs
    • sparc
    • solaris_2.6, solaris_7



      Name: vi73552 Date: 03/11/99


      My X window server of linux box uses 16 bit color depth.
      When i connect to a solaris from my linux box and
      execute any of java applet/swing program
      an error occurs like following

       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(Compiled Code)
              at sun.java2d.loops.LockableRaster.<init>(Compiled Code)
              at sun.java2d.loops.RasterOutputManager.drawString(Compiled Code)
              at sun.java2d.SunGraphics2D.drawString(Compiled Code)
              at Clock2.paint(Compiled Code)
              at Clock2.update(Compiled Code)
              at sun.awt.motif.MComponentPeer.handleEvent(Compiled Code)
              at java.awt.Component.dispatchEventImpl(Compiled Code)
              at java.awt.Container.dispatchEventImpl(Compiled Code)
              at java.awt.Component.dispatchEvent(Compiled Code)
              at java.awt.EventQueue.dispatchEvent(Compiled Code)
              at java.awt.EventDispatchThread.run(Compiled Code)

      I couldn't execute any of the demo program installed with jdk1.2.
      java 1.1.3 awt used to work without this problem.
      it works fine when I use 32 bit depth.
      the jdk I use is java 1.2 solaris product release.
      (Review ID: 55417)
      ======================================================================

            xdengsunw Xianfa Deng (Inactive)
            vasya Vassili Igouchkine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: