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

Missing gradient information in java.awt.SystemColor

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 6
    • client-libs
    • x86
    • windows_xp

      A DESCRIPTION OF THE REQUEST :
      GradientActiveCaption and GradientInactiveCaptionColor should be available.

      references:
      http://windowssdk.msdn.microsoft.com/en-us/library/system.windows.systemcolors_members.aspx
      http://forums.microsoft.com/msdn/showpost.aspx?postid=174168&siteid=1

      JUSTIFICATION :
      At the moment applications have to introduce new colors if they want to enrich their UI with gradients. These applications would get a more native look if they could use the native color-settings.

      The gradient could for example be used for the caption of dockables.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Add the static fields java.awt.SystemColor.gradientActiveCaption and java.awt.SystemColor.gradientInactiveCaptionColor . These fields should be null if this information is not available.

      Add the static fields java.awt.SystemColor.GRADIENT_ACTIVE_CAPTION and java.awt.SystemColor.GRADIENT_INACTIVE_CAPTION.


      CUSTOMER SUBMITTED WORKAROUND :
      use JNI

            dav Andrei Dmitriev (Inactive)
            dav Andrei Dmitriev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: