JSlider transparency = new JSlider();
- JCheckBox showComplement;
-
- JCheckBox showComplementOnTop;
-
/*
* when true, constructor is still executing - so ignore UI events
*/
MessageManager.getString("label.transparency_tip"));
boolean nucleotide = af.getViewport().getAlignment().isNucleotide();
- showComplement = new JCheckBox(
+ JCheckBox showComplement = new JCheckBox(
"Show " + (nucleotide ? "protein" : "CDS") + " features");
showComplement.setSelected(af.getViewport().isShowComplementFeatures());
showComplement.addActionListener(new ActionListener()
}
});
- showComplementOnTop = new JCheckBox("on top");
+ JCheckBox showComplementOnTop = new JCheckBox("on top");
showComplementOnTop
.setSelected(af.getViewport().isShowComplementFeaturesOnTop());
showComplementOnTop.addActionListener(new ActionListener()