开发者

Click Cancel button in JXColorSelectionButton

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 d开发者_运维问答etect if "Ok" or "Cancel" is clicked in the JXColorSelectionButton's dialog to prevent this behavior.

Anyone can tell me a solution for this ?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜