private void initComponents(Icon statusIcon)
private void initComponents()
    private void initComponents(Icon statusIcon)    {        progressBar = new JProgressBar();        progressBar.setIndeterminate(true);        status = new JLabel();        statusButton = new JButton(statusIcon);        statusButton.setBorder(null);        statusButton.setBorderPainted(false);        statusButton.addActionListener(new ActionListener() {                    public void actionPerformed(ActionEvent e)            {                if (buttonEnabled)                    firePropertyChange(CANCEL_PROPERTY, Boolean.FALSE,                                 Boolean.TRUE);            }                });    }