projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: swing hide/show methods are deprecated
[fw/altos]
/
altosui
/
AltosAscent.java
diff --git
a/altosui/AltosAscent.java
b/altosui/AltosAscent.java
index 0fbc5de26f837d3da4fc2ebaf2b856ef3905e8a7..8a4aa58b02de03234e4d070886ceaf208f84dcb6 100644
(file)
--- a/
altosui/AltosAscent.java
+++ b/
altosui/AltosAscent.java
@@
-89,13
+89,13
@@
public class AltosAscent extends JComponent implements AltosFlightDisplay {
}
void show() {
}
void show() {
- label.s
how(
);
- value.s
how(
);
+ label.s
etVisible(true
);
+ value.s
etVisible(true
);
}
void hide() {
}
void hide() {
- label.
hide(
);
- value.
hide(
);
+ label.
setVisible(false
);
+ value.
setVisible(false
);
}
public AscentValue (GridBagLayout layout, int y, String text) {
GridBagConstraints c = new GridBagConstraints();
}
public AscentValue (GridBagLayout layout, int y, String text) {
GridBagConstraints c = new GridBagConstraints();