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

RFE: Swing Jcolorchooser should allow the settiing of alpha value of a color

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.3.0
    • client-libs



      Name: rlT66838 Date: 04/20/2000


      java version "1.3.0rc2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc2-Y)
      Java HotSpot(TM) Client VM (build 1.3.0rc2-Y, mixed mode)

      Show Swing a color chooser dialog with

      JColorChooser.showDialog(this, "Change Color", Color.black)

      Since Java2 has added a new field to colors for transparency, why can't the
      user select the color's transparency here? (e.g. add a slider to the "RGB" page
      and make it "ARGB"... similar thing to HSI page... don't now about the swatches
      page, but a slider there might be handy)

      what's more the ColorChooser dialog is very wide (should be of more rectangular
      size and much less wide if possible [the problem is the Swatches page])

      also, the color preview as it is now (a text message with different
      background/foreground etc.) is totally irrelevant to non-word-processing
      applications (just showing a rectangle filled with the new color would be
      enough for most applications)
      (Review ID: 103867)
      ======================================================================

            mdavidsosunw Mark Davidson (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: