[SWINGX-1454] Click Cancel button in JXColorSelectionButton Created: 13/Jun/11  Updated: 13/Jun/11  Resolved: 13/Jun/11

Status: Resolved
Project: swingx
Component/s: Graphics
Affects Version/s: 1.6
Fix Version/s: 1.6.3

Type: Bug Priority: Major
Reporter: heshamg Assignee: Karl Schaefer
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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.



 Comments   
Comment by Karl Schaefer [ 13/Jun/11 ]

Duplicate of SWINGX-1257.

Generated at Wed May 04 11:17:31 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.