swingx
  1. swingx
  2. SWINGX-1454

Click Cancel button in JXColorSelectionButton

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.3
    • Component/s: Graphics
    • Labels:
      None

      Description

      In my java application i load a JXColorSelectionButton from SwingX to choose a color from it then click "Ok" to apply the color. After doing this if i click the JXColorSelectionButton once again but click "Cancel" the color is reset.

      This is a wrong behavior as when clicking "Cancel" the first color i chose should remain the same. The main problem is that there is no way i can detect if "Ok" or "Cancel" is clicked in the JXColorSelectionButton's dialog to prevent this behavior.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: