}
// Special handling for colour value nodes.
if (valueNode instanceof ColourValueNode) {
ColourValueNode colourValueNode = (ColourValueNode) valueNode;
Color colour = colourValueNode.getColourValue();
Color opaqueColour = new Color(colour.getRed(), colour.getGreen(), colour.getBlue());
getValueField().setBackground(opaqueColour);
getValueField().setForeground(opaqueColour);
getValueField().setSelectedTextColor(opaqueColour);
getValueField().setSelectionColor(opaqueColour);