+ acg.setColourByLabel(colourByLabel.isSelected());
+ if (acg.isColourByLabel())
+ {
+ maxColour.setEnabled(false);
+ minColour.setEnabled(false);
+ maxColour.setBackground(this.getBackground());
+ maxColour.setForeground(this.getBackground());
+ minColour.setBackground(this.getBackground());
+ minColour.setForeground(this.getBackground());
+
+ }
+ else
+ {
+ maxColour.setEnabled(true);
+ minColour.setEnabled(true);
+ maxColour.setBackground(oldmaxColour);
+ minColour.setBackground(oldminColour);
+ maxColour.setForeground(oldmaxColour);
+ minColour.setForeground(oldminColour);
+ }
+ fr.setColour(type, acg);