Removing the Preview Panel from a JColorChooser Dialog
import javax.swing.JColorChooser; import javax.swing.JPanel; public class Main { public static void main(String[] argv) { JColorChooser chooser = new JColorChooser(); chooser.setPreviewPanel(new JPanel()); } }