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

(-)TabbedHandler.java (+20 lines)
Line 63 Link Here
63
        new MyListener().add();
64
        
Line 393 Link Here
395
    }
396
    
397
    private static class MyListener implements java.awt.event.AWTEventListener {
398
        
399
        public MyListener() {
400
        }
401
        
402
        public void add() {
403
            Toolkit.getDefaultToolkit().addAWTEventListener(this, AWTEvent.HIERARCHY_EVENT_MASK);
404
        }
405
        
406
        public void remove() {
407
            Toolkit.getDefaultToolkit().removeAWTEventListener(this);
408
        }
409
        
410
        public void eventDispatched(AWTEvent event) {
411
        }
412
        

Return to bug 42414