toolPanel.placeComponent(toggle);
toggle = new GUIToggle(posX, posY, button_width, button_height,
"gui/GUI_OFFSET_PATH_ICON.png", gui);
toggle.setComponentSet(GLOBAL.uiTools.toggleSet);
toggle.addActionListener(GLOBAL.uiTools.SketchTools, "selectTool",
SketchTools.DRAW_OFFSETPATH_TOOL);
toggle.setLabel("offset path");
toggle.label.align = GUILabel.CENTRE;
toggle.label.layout = GUILabel.UNDER_COMPONENT;
if (GLOBAL.uiTools.SketchTools.getCurrentTool() == SketchTools.DRAW_OFFSETPATH_TOOL)