[cp-patches] RFC: BasicComboBoxUI minimum size caching

2005-11-21 Thread Mark Wielaard
Hi, Some more hacking on Free Swing (this stuff really seems to work for a lot of things now!). Emir uses something called the plastic theme. It seems to use the BasicComboBoxUI protected fields that cache the minimum size. So I implemented them and wrote some documentation on how I think they

Re: [cp-patches] RFC: BasicComboBoxUI minimum size caching

2005-11-21 Thread Roman Kennke
Hi Mark, hi list, Some more hacking on Free Swing (this stuff really seems to work for a lot of things now!). Emir uses something called the plastic theme. It seems to use the BasicComboBoxUI protected fields that cache the minimum size. So I implemented them and wrote some documentation on

Re: [cp-patches] RFC: BasicComboBoxUI minimum size caching

2005-11-21 Thread Mark Wielaard
Hi Roman, On Mon, 2005-11-21 at 22:23 +0100, Roman Kennke wrote: Looks ok. Except that the cache is possibly invalidated a little too often. I would think that the focus state doesn't change the minimumSize. Also, the general propertyChange() invalidation is maybe not good. But still ok to