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

Background color visible at edges of EtchedBorder

XMLWordPrintable

    • Cause Known
    • 20

      The fix for JDK-8279614 addressed the inconsistent rendering of EtchedBorder in HiDPI environment, in particular at 150. And works well for the cases where background of the component is the same as of its parent.

      Yet if the background is different, it shines through the border.

      At 100% scale, there's 1-pixel white background on the bottom and right; at 125% scale, there's 1-pixel white background on the top and right.

      To reproduce, run the attached Java app, EtchedBorderBackgroundTest.java, or refer to the screenshots.

            honkar Harshitha Onkar
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: