This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 180906
Collapse All | Expand All

(-)a/core.output2/src/org/netbeans/core/output2/OutputTab.java (-4 / +6 lines)
Lines 480-489 Link Here
480
            }
480
            }
481
            fd.setModal(true);
481
            fd.setModal(true);
482
            fd.setVisible(true);
482
            fd.setVisible(true);
483
            String s = fd.getDirectory() + fd.getFile();
483
            if(fd.getFile()!=null && fd.getDirectory()!=null){
484
            f = new File(s);
484
                String s = fd.getDirectory() + fd.getFile();
485
            if (f.exists() && f.isDirectory()) {
485
                f = new File(s);
486
                f = null;
486
                if (f.exists() && f.isDirectory()) {
487
                    f = null;
488
                }
487
            }
489
            }
488
        } else {
490
        } else {
489
            JFileChooser jfc = new JFileChooser();
491
            JFileChooser jfc = new JFileChooser();

Return to bug 180906