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

    • Bug
    • Resolution: Fixed
    • P3
    • 17
    • 15, 16, 17
    • client-libs

    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

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

              Dates

                Created:
                Updated:
                Resolved: