dialog.hide();
dialog.setVisible(false);
                public void actionPerformed( ActionEvent event ) {                    camo.setBackground( color.getBackground() );                    camo.setLabel( color.getLabel() );                    camo.setImage( null );                    dialog.hide();                }