Bug 162140 [Progress] Be more resilient to null args in StatusLine's progress monitor
bundles/org.eclipse.jface/src/org/eclipse/jface/action/StatusLine.java
}
        });
         
        
         
        
        setLayout(new StatusLineLayout());
        fMessageLabel = new CLabel(this, SWT.NONE);
        
        
        
        
        
        fProgressIsVisible = false;
        fCancelEnabled = false;
        fToolBar = new ToolBar(this, SWT.FLAT);
        fCancelButton = new ToolItem(fToolBar, SWT.PUSH);
        fCancelButton.setImage(fgStopImage.createImage());
        fCancelButton.setToolTipText(JFaceResources
                .getString("Cancel_Current_Operation")); 
        fCancelButton.addSelectionListener(new SelectionAdapter() {
            public void widgetSelected(SelectionEvent e) {
                setCanceled(true);
            }
        });
        fCancelButton.addDisposeListener(new DisposeListener() {
            public void widgetDisposed(DisposeEvent e) {
                Image i = fCancelButton.getImage();
                if ((i != null) && (!i.isDisposed())) {
					i.dispose();