A bug for type JXColorSelectionButton
When the method "showDialog" is called ,the color chooser dialog is very ugly.I think change to following maybe a good idea:
dialog.pack();//compact the content layout of dialog
getChooser().setColor(getBackground());//set default color as current selected
SwingXUtils.center(dialog);//location to center
Sorry for my bad english.