Java tutorial
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()); } }