public void setFillType(int id) { java.lang.Integer fillType = (java.lang.Integer) tools[id].data; toolSettings.commonFillType = fillType.intValue(); updateToolSettings(); }