helpTextArea.setWrapStyleWord(true);
helpTextArea.setBorder(new EmptyBorder(0, 10, 10, 5));
helpTextArea.setText(helpText);
// The preview component will be displayed centered in order to match the color chooser's palette position
JPanel previewPanel = new JPanel(new UnitLayout(UnitLayout.CENTER, UnitLayout.TOP));
previewPanel.setBorder(new EmptyBorder(19, 5, 5, 5));
previewPanel.add(preview);
// Add preview to the left, chooser to fill
JPanel chooserPanel = new JPanel(new BorderLayout());