desktop.setBackground(color_chooser.getColor()); f.setVisible(false);
desktop.setBackground(colorChooser.getColor()); frame.setVisible(false);
                                public void actionPerformed(ActionEvent event) {                                    desktop.setBackground(color_chooser.getColor());                                    f.setVisible(false);                                }