private String makeCode(){
        String c=((ComboText)command.getSelectedItem()).getValue();
        if(c.equals("MAKE")){
            return logoObj.getText()+"=addons.logo("+makeW.getValue()+","+makeH.getValue()+"); "
                    + logoObj.getText()+".setClosedCanvas("+closedCanvas.isSelected()+");";
        }
        else if(c.equals("forward") || c.equals("backward")
                || c.equals("turnRight") || c.equals("turnLeft")
                || c.equals("distance")){
            return logoObj.getText()+"."+c+"("+value.getText()+")";
        }
        else if(c.equals("setColor")){
            return logoObj.getText()+"."+c+"(\""+colorHEX.getText()+"\")";
        }
        else if(c.equals("distance")){
            return variable.getText()+"="+logoObj.getText()+"."+c+"(("+value.getText()+"))";
        }
        else
            return logoObj.getText()+"."+c+"()";
    }