[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: BorderLayout fixlet
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: BorderLayout fixlet |
Date: |
Thu, 04 Aug 2005 20:02:09 +0200 |
Hi,
this replaces a call to Component.getSize() with Component.getWidth()
and Component.getHeight(). This avoids a heap allocation and fixes a bug
in an application that I have here. (This app uses a Component that
overrides getSize() with a slightly modified semantics.)
2005-08-04 Roman Kennke <address@hidden>
* java/awt/BorderLayout.java
(layoutContainer): Replaced getSize() call with getWidth() and
getHeight(). This avoids heap allocation and fixes a bug in
an application here.
/Roman
BorderLayout.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: BorderLayout fixlet,
Roman Kennke <=