()
| 180 | } |
| 181 | |
| 182 | private void runNextPanel() |
| 183 | { |
| 184 | ConvertSubPanel nextpanel; |
| 185 | do |
| 186 | { |
| 187 | boolean allowPrev = false; |
| 188 | if (currentPanel >= 0 && currentPanel < queue.size()) |
| 189 | { |
| 190 | allowPrev = queue.get(currentPanel).returnAllowed(); |
| 191 | } |
| 192 | currentPanel++; |
| 193 | if (currentPanel < queue.size()) |
| 194 | { |
| 195 | nextpanel = queue.get(currentPanel); |
| 196 | prepare(nextpanel, allowPrev); |
| 197 | basePanel.removeAll(); |
| 198 | nextpanel.setupDisplay(basePanel, properties); |
| 199 | basePanel.repaint(); |
| 200 | } |
| 201 | else |
| 202 | { |
| 203 | nextpanel = null; |
| 204 | showFinishButton(); |
| 205 | } |
| 206 | } |
| 207 | while (nextpanel != null && nextpanel.autoAdvance(properties)); |
| 208 | } |
| 209 | |
| 210 | /** |
| 211 | * The Class {@code PreviousButtonListener} ... |
no test coverage detected