git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b2eb64f
)
JAL-3187 change fields to local variables
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 7 Jun 2019 16:08:01 +0000
(17:08 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 7 Jun 2019 16:08:01 +0000
(17:08 +0100)
src/jalview/gui/FeatureSettings.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/FeatureSettings.java
b/src/jalview/gui/FeatureSettings.java
index
a5585ce
..
e9b6f8c
100644
(file)
--- a/
src/jalview/gui/FeatureSettings.java
+++ b/
src/jalview/gui/FeatureSettings.java
@@
-161,10
+161,6
@@
public class FeatureSettings extends JPanel
JSlider transparency = new JSlider();
JSlider transparency = new JSlider();
- JCheckBox showComplement;
-
- JCheckBox showComplementOnTop;
-
/*
* when true, constructor is still executing - so ignore UI events
*/
/*
* when true, constructor is still executing - so ignore UI events
*/
@@
-1275,7
+1271,7
@@
public class FeatureSettings extends JPanel
MessageManager.getString("label.transparency_tip"));
boolean nucleotide = af.getViewport().getAlignment().isNucleotide();
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()
"Show " + (nucleotide ? "protein" : "CDS") + " features");
showComplement.setSelected(af.getViewport().isShowComplementFeatures());
showComplement.addActionListener(new ActionListener()
@@
-1289,7
+1285,7
@@
public class FeatureSettings extends JPanel
}
});
}
});
- showComplementOnTop = new JCheckBox("on top");
+ JCheckBox showComplementOnTop = new JCheckBox("on top");
showComplementOnTop
.setSelected(af.getViewport().isShowComplementFeaturesOnTop());
showComplementOnTop.addActionListener(new ActionListener()
showComplementOnTop
.setSelected(af.getViewport().isShowComplementFeaturesOnTop());
showComplementOnTop.addActionListener(new ActionListener()