cancelButton = new JButton(L10N.getLocalString("dlg.cancel_btn", "Cancel"));
cancelButton = new JButton(edu.umd.cs.findbugs.gui.L10N.getLocalString("dlg.cancel_btn", "Cancel"));
	public void initComponents()	{		statusLabel = new JLabel(" ");		progressBar = new JProgressBar();		progressBar.setStringPainted(true);		cancelButton = new JButton(L10N.getLocalString("dlg.cancel_btn", "Cancel"));		cancelButton.addActionListener(new ActionListener()		{			public void actionPerformed(ActionEvent evt)			{				cancel();			}		});		setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);		addWindowListener(new WindowAdapter()		{			@Override			public void windowClosed(WindowEvent evt)			{				cancel();			}		});				SwingUtilities.invokeLater(new Runnable()		{			public void run()			{				setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));				add(statusLabel);				add(progressBar);				add(cancelButton);				statusLabel.setAlignmentX(CENTER_ALIGNMENT);				progressBar.setAlignmentX(CENTER_ALIGNMENT);				cancelButton.setAlignmentX(CENTER_ALIGNMENT);				pack();				setSize(300, getHeight());				setLocationRelativeTo(MainFrame.getInstance());				setResizable(false);				setModal(false);				setVisible(true);			}		});			}