swingx
  1. swingx
  2. SWINGX-1448

AlphaPaintable.setAlpha should throw IllegalArgumentException for invalid values

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.6.3
    • Component/s: Misc Component
    • Labels:
      None

      Description

      We only want values 0f-1f inclusive. Like java.awt.Color, we should throw an IllegalArgumentException when the value is invalid.

        Activity

        Karl Schaefer created issue -
        Karl Schaefer made changes -
        Field Original Value New Value
        Assignee Karl Schaefer [ kschaefe ]
        Fix Version/s 1.6.3 [ 13366 ]
        Affects Version/s 1.6.2 [ 13362 ]
        Component/s Misc Component [ 12476 ]
        Karl Schaefer made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Karl Schaefer
            Reporter:
            Karl Schaefer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: