}
repaint();
break;
case TANKVIEW:
if (currentLevel == 1) {
currentPane = new TankView(this, new Level1());
}
if (currentLevel == 2) {
currentPane = new TankView(this, new Level2());
}
if (currentLevel == 3) {
currentPane = new TankView(this, new Level3());
}
if (currentLevel == 4) {
currentPane = new TankView(this, new Level4());
}
if (currentLevel == 5) {
currentPane = new TankView(this, new Level5());
}
body.add(currentPane, "TANKVIEW");
CardLayout c = (CardLayout) body.getLayout();
c.show(body, "TANKVIEW");