[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Patch for RootPaneLayout
From: |
Anthony Balkissoon |
Subject: |
[cp-patches] Patch for RootPaneLayout |
Date: |
Mon, 19 Sep 2005 14:18:28 -0400 |
RootPane layout was incorrectly sizing the GlassPane, so I fixed it and
added a comment about how the components (glassPane, layeredPane,
contentPane, menuBar) should be sized. Patch is attached.
2005-09-19 Anthony Balkissoon <address@hidden>
* javax/swing/JRootPane.java:
(RootPaneLayout.layoutContainer): Added comment about how the
components should be sized. Fixed size of glassPane which fills the
entire viewable region, including overtop the menuBar. Used bounds
minus insets for containerSize, as indicated in comment, rather than
getSize(). Used setBounds instead of setSize for layeredPane because
its relation to the other components' sizes is more obvious that way.
--Tony
RootPaneLayoutFixes.diff
Description: Text Data
- [cp-patches] Patch for RootPaneLayout,
Anthony Balkissoon <=