Implement appropriate actions for events when choosing color

However, the "initial color" rectangle does not change even when changing the
selected item in the JComboBox. A custom preview panel needs to be
implemented in order to achieve this.