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

BevelBorderUIResource​(int, Color, Color) and BevelBoder(int, Color, Color) spec should clarify about usage of highlight and shadow color

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 15, 16, 17
    • Fix Version/s: 17
    • Component/s: client-libs
    • Labels:

      Description

      The current state of specification for
      https://docs.oracle.com/en/java/javase/15/docs/api/java.desktop/javax/swing/plaf/BorderUIResource.BevelBorderUIResource.html#%3Cinit%3E(int,java.awt.Color,java.awt.Color)

      says

      Parameters:
          highlight - the color to use for the bevel highlight
          shadow - the color to use for the bevel shadow

      In fact for OpenJDK implementation the passed colors are the "inner highlight" and "outer shadow" properties of BevelBorder

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              psadhukhan Prasanta Sadhukhan
              Reporter:
              dbessono Dmitry Bessonov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: