[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: SwingUtilities.layoutCompoundLabel fixup
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: SwingUtilities.layoutCompoundLabel fixup |
Date: |
Fri, 23 Sep 2005 11:00:29 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.4 |
The layoutCompoundLabel method (used by many Swing components) had a bug
that could lead to invisible labels. This was the case when the
verticalTextPosition is set to BOTTOM and there is no icon. In this case
the method laid out the label at a negative position, thus shifting it
outside of the view rectangle and therefore making it invisible. This is
fixed.
2005-09-23 Roman Kennke <address@hidden>
* javax/swing/SwingUtilities.java
(layoutCompoundLabel): Fix the case when verticalTextPosition=BOTTOM
and without icon. The label text slipped out of the view rectangle
in this case.
/Roman
SwingUtilities.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: SwingUtilities.layoutCompoundLabel fixup,
Roman Kennke <=