******does not work, why?********** if (button == shiftform) boll.setRound(button.getBooleanValue()); if (button == kantButton) boll.setFill(button.getBooleanValue()); else if(button == showButton) boll.setVisible(button.getBooleanValue()); else boll.setColor((Color)button.getValue()); ********works fine*********** if (button == kantButton) boll.setFill(button.getBooleanValue()); else if (button == shiftform) boll.setRound(button.getBooleanValue()); else if(button == showButton) boll.setVisible(button.getBooleanValue()); else boll.setColor((Color)button.getValue()); }