167 |
|
/** |
168 |
|
* |
169 |
|
*/ |
170 |
< |
boolean displaySucessful = true; |
170 |
> |
private boolean displaySucessful = true; |
171 |
|
/** |
172 |
|
* The east panel, currently used for the heartbeat ticker. |
173 |
|
*/ |
174 |
< |
JPanel _east = new JPanel(); |
174 |
> |
private final JPanel _east = new JPanel(); |
175 |
|
|
176 |
|
/** |
177 |
|
* The centre panel, where all the data is displayed. |
178 |
|
*/ |
179 |
< |
JPanel _center = new JPanel(); |
179 |
> |
private final JPanel _center = new JPanel(); |
180 |
|
{ |
181 |
|
_center.setLayout(new BoxLayout(_center, BoxLayout.Y_AXIS)); |
182 |
|
} |
184 |
|
/** |
185 |
|
* The minimum value of the heatbeat progress bar |
186 |
|
*/ |
187 |
< |
int _min = 0; |
187 |
> |
private int _min = 0; |
188 |
|
|
189 |
|
/** |
190 |
|
* The maximum value of the heatbeat progress bar |
191 |
|
*/ |
192 |
< |
int _max = 6; |
192 |
> |
private int _max = 6; |
193 |
|
|
194 |
|
/** |
195 |
|
* This progress bar indicates time till next heartbeat. |
196 |
|
*/ |
197 |
< |
JProgressBar _timeToHeartBeat = new JProgressBar(JProgressBar.VERTICAL, _min, _max); |
197 |
> |
private JProgressBar _timeToHeartBeat = new JProgressBar(JProgressBar.VERTICAL, _min, _max); |
198 |
|
{ |
199 |
|
_timeToHeartBeat.setValue(_max); |
200 |
|
} |