}
public void show() {
- label.show();
- value.show();
- lights.show();
+ label.setVisible(true);
+ value.setVisible(true);
+ lights.setVisible(true);
}
public void hide() {
- label.hide();
- value.hide();
- lights.hide();
+ label.setVisible(false);
+ value.setVisible(false);
+ lights.setVisible(false);
}
public LaunchStatus (GridBagLayout layout, int y, String text) {
void show(AltosState state, int crc_errors) {}
void show() {
- label.show();
- value.show();
+ label.setVisible(true);
+ value.setVisible(true);
}
void hide() {
- label.hide();
- value.hide();
+ label.setVisible(false);
+ value.setVisible(false);
}
void reset() {