if (selectClassButton == null) {
selectClassButton = new JButton();
selectClassButton.setText("...");
selectClassButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent e) {
ClassIndex classIndex = SystemFacade.getInstance().getClassIndex();
ClassChooseDialog ccd = new ClassChooseDialog(MainWindow.getInstance(), classIndex);
ccd.invoke();
ClassLocator locator = ccd.getSelected();
if (locator != null) {
DebugTab.this.mainClassField.setText(locator.getFullName());