openIconImage = manager.getLargeImage(IconManager.OPEN_IMAGE);
openIconImage = manager.getLargeImage(IconManager.ZOOM_BAR);
    private void initOverlayShapes()    {        int width = getImage().getWidth(null);        int height = getImage().getHeight(null);        PaintShapeGenerator generator = PaintShapeGenerator.getInstance();                if(multipleModeOn)        {            Shape prevShape = generator.getPrevImageShape();            Shape nextShape = generator.getNextImageShape();                        AffineTransform prevXForm =                AffineTransform.getTranslateInstance(5,height-prevShape.getBounds2D().getHeight()-5);                        AffineTransform nextXForm =                AffineTransform.getTranslateInstance(width-nextShape.getBounds2D().getWidth()-5,                                                     height-nextShape.getBounds2D().getHeight()-5);                        this.prevImageShape = prevXForm.createTransformedShape(prevShape);            this.nextImageShape = nextXForm.createTransformedShape(nextShape);        }                BrowserEnvironment env = BrowserEnvironment.getInstance();        IconManager manager = env.getIconManager();        openIconImage = manager.getLargeImage(IconManager.OPEN_IMAGE);        closeIconImage = manager.getLargeImage(IconManager.CLOSE_IMAGE);                int iconWidth = openIconImage.getWidth(null);        int iconHeight = openIconImage.getHeight(null);                openIconShape = new Rectangle2D.Double(width-iconWidth-8,50,                                               iconWidth,iconHeight);                iconWidth = closeIconImage.getWidth(null);        iconHeight = closeIconImage.getHeight(null);                closeIconShape = new Rectangle2D.Double(width-iconWidth-8,8,                                                iconWidth,iconHeight);                                                                 }