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

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: