Creating a Color Chooser Dialog Color initialColor = Color.red; Color newColor = JColorChooser.showDialog( frame, "Dialog Title", initialColor);