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 40950
Collapse All | Expand All

(-)core/javahelp/src/org/netbeans/modules/javahelp/JavaHelp.java (+5 lines)
Lines 379-384 Link Here
379
        if (w instanceof Dialog) {
379
        if (w instanceof Dialog) {
380
            Dialog d = (Dialog)w;
380
            Dialog d = (Dialog)w;
381
            if ((d.isModal() && !(d instanceof ProgressDialog)) || d == dialogViewer) {
381
            if ((d.isModal() && !(d instanceof ProgressDialog)) || d == dialogViewer) {
382
                if ("sun.awt.windows.WPageDialog".equals(d.getClass().getName()) || 
383
                    "sun.awt.windows.WPrintDialog".equals(d.getClass().getName())) {
384
                    //It is the print or print settings dialog for javahelp, do nothing
385
                    return;
386
                }                
382
                if (Installer.err.isLoggable(ErrorManager.INFORMATIONAL)) {
387
                if (Installer.err.isLoggable(ErrorManager.INFORMATIONAL)) {
383
                    Installer.err.log("modal (or viewer) dialog event: " + ev + " [" + d.getTitle() + "]");
388
                    Installer.err.log("modal (or viewer) dialog event: " + ev + " [" + d.getTitle() + "]");
384
                }
389
                }

Return to bug 40950