}
}else{
for (int i = 0; i < 24; i++){
- JButton button = (JButton) upperCaseButtons.get(i);
+ JButton button = upperCaseButtons.get(i);
newColours[i] = button.getBackground();
}
}
}
}else{
for (int i = 0; i < 23; i++){
- JButton button = (JButton) lowerCaseButtons.get(i);
+ JButton button = lowerCaseButtons.get(i);
newColours[i] = button.getBackground();
}
}
if (ap != null)
{
- ucs.setThreshold(0, ap.av.getIgnoreGapsConsensus());
+ ucs.setThreshold(0, ap.av.isIgnoreGapsConsensus());
}
return ucs;