[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Fixed BasicTabbedPaneUI
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: Fixed BasicTabbedPaneUI |
Date: |
Wed, 14 Sep 2005 17:09:35 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.4 |
In BasicTabbedPane the methods calculateTabWidth and calculateTabHeight
used the instance field calcRect for calculations. Not only is this
unnecessary, it leads to an inconsistent state of another method, that
also uses calcRect and calls these two methods.
This is fixed.
2005-09-14 Roman Kennke <address@hidden>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(calculateTabWidth): Don't use the calcRect here. This lead to an
inconsistent state when this method is called from another method
that also uses calcRect.
(calculateTabHeight): Don't use the calcRect here. This lead to an
inconsistent state when this method is called from another method
that also uses calcRect.
/Roman
BasicTabbedPaneUI.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: Fixed BasicTabbedPaneUI,
Roman Kennke <=