if (col != null)
{
minColour.setBackground(col);
+ minColour.setForeground(col);
}
minColour.repaint();
changeColour();
if (col != null)
{
maxColour.setBackground(col);
+ maxColour.setForeground(col);
}
maxColour.repaint();
changeColour();
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.featureColours.put(type,acg);
cs = acg;
showunconserved_actionPerformed(e);
}
});
+ /// TODO: fit these in to preferences panel!!!!!
shareSelections.setFont(verdana11);
shareSelections.setHorizontalAlignment(SwingConstants.RIGHT);
shareSelections.setHorizontalTextPosition(SwingConstants.LEFT);
visualTab.add(fontNameCB);
visualTab.add(fontSizeCB);
visualTab.add(fontStyleCB);
- annsettingsPanel.setBounds(new Rectangle(173,39,300,62));
+ annsettingsPanel.setBounds(new Rectangle(173,37,300,62));
annsettingsPanel.setLayout(new FlowLayout(FlowLayout.LEFT,0,0));
annsettingsPanel.add(autoAnnotSettings1);
annsettingsPanel.add(autoAnnotSettings2);