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

Swing components rendered incorrectly with Nimbus Look and Feel on SLES 11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • 8
    • 8
    • client-libs
    • 2d
    • generic
    • linux_suse_sles_11

    Description

      SYNOPSIS
      --------
      Swing components rendered incorrectly with Nimbus Look and Feel on SLES 11

      OPERATING SYSTEM
      ----------------
      SLES 11 SP2
      Not reproducible on other platforms/distributions

      FULL JDK VERSION
      ----------------
      JDK 8 (tested with b83)
      Also reproducible with JDK 7 when XRender is explicitly enabled.

      DESCRIPTION
      -----------
      Swing components (Menu bar, scroll bar, button etc.) are rendered incorrectly with Nimbus Look and Feel on SLES 11.

      See attached screenshots for reference.

      REPRODUCTION INSTRUCTIONS
      -------------------------
      1. Run the SwingSet2 demo

           java -jar <java_home>/demo/jfc/SwingSet2/SwingSet2.jar

      2. Select "nimbus" look and feel. (Menu: Look & Feel > Nimbus Look and Feel)

      3. Click on any tab and check the GUI

      4. Note the poorly formed buttons/scrollbars/MenuBars.

      WORKAROUND:
      -----------
      Disable XRender pipeline by setting -Dsun.java2d.xrender=false on the command line

      Attachments

        Issue Links

          Activity

            People

              prr Philip Race
              dkorbel David Korbel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: