All pastes #388906 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-03-10 11:23 UTC
rendered paste body
             
******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());
    }