*/
public UserDefinedColours(AlignmentPanel ap, SequenceGroup sg)
{
- super();
+ this();
lcaseColour.setEnabled(false);
{
caseSensitive.setSelected(true);
lcaseColour.setEnabled(true);
+ lcaseColour.setForeground(Color.GRAY);
resetButtonPanel(true);
}
else
public UserDefinedColours(JalviewStructureDisplayI viewer,
ColourSchemeI oldcs)
{
- super();
+ this();
this.structureViewer = viewer;
colorChooser.getSelectionModel().addChangeListener(this);
}
+ public UserDefinedColours()
+ {
+ super();
+ selectedButtons = new ArrayList<JButton>();
+ }
+
void showFrame()
{
colorChooser.getSelectionModel().addChangeListener(this);
{
caseSensitive.setSelected(true);
lcaseColour.setEnabled(true);
+ lcaseColour.setForeground(Color.GRAY);
resetButtonPanel(true);
for (int i = 0; i < lowerCaseButtons.size(); i++)
{