classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: BasicInternalFrameUI fix


From: Roman Kennke
Subject: [cp-patches] FYI: BasicInternalFrameUI fix
Date: Tue, 08 Nov 2005 21:15:38 +0000

I committed the attached fix for BasicInternalFrameUI, which makes it
possible to activate menus in JInternalFrames. This was previously
impossible because the GlassPaneDispatcher only searched in the frame's
content pane for possible event targets, but the menu bar of a rootpane
is not inside the contentPane. Instead the searching must be started in
the rootpane's layeredPane.

2005-11-08  Roman Kennke  <address@hidden>

        * javax/swing/plaf/basic/BasicInternalFrameUI.java
        (GlassPaneDispatcher.acquireComponentForMouseEvent): Use the
        frame's layeredPane as parent instead of the content pane
        when searching for the event target. This way a possibly set
menubar
        is also included in the search.

/Roman

Attachment: patch.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]