yPos = 32;
GUISlider brushSize = new GUISlider(20, yPos, 150, 1, 100, gui);
brushSize.setLabel("brush size");
brushSize.addActionListener(GLOBAL.uiTools, "setBrushDia",
UITools.SCALE_TOOL);
brushSize.setVal(GLOBAL.uiTools.SketchTools.brush_dia);
brushSize.label.align = GUILabel.LEFT;
brushSize.label.layout = GUILabel.UNDER_COMPONENT;
brushSize.setEndImgs(GLOBAL.applet.loadImage("gui/SLIDER_BRUSH_SIZE_SMALL.png"),GLOBAL.applet.loadImage("gui/SLIDER_BRUSH_SIZE_BIG.png"));