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

Canvas(GraphicsConfiguration) does not use proper visual

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.2.0
    • 1.2.0
    • client-libs
    • 1.2fcs
    • sparc
    • solaris_2.5.1
    • Not verified

      The 1.2 Canvas constructor that takes a GraphicsConfiguration object as a
      parameter is not working correctly.

      In the Solaris environment a GraphicsConfiguration object will map to a
      particular X11 visual. I have an example program that chooses a
      GraphicsConfiguration object that has a single buffered RGB visual (VisualID 45)
      associated with it. When the Canvas is created the visaul read back is
      a double buffered RGB visual (VisualID 44).

      The attached program demonstartes the problem. The program requires Java 3D
      to run. I can provide a pointer to the Java 3D library.

            jwarzech Joe Warzecha (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: