[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] scrollable JList
From: |
Roman Kennke |
Subject: |
Re: [cp-patches] scrollable JList |
Date: |
Mon, 28 Feb 2005 13:14:36 +0100 |
Am Montag, den 28.02.2005, 12:04 +0000 schrieb Chris Burdess:
> Roman Kennke wrote:
> > please review the attached patch that improves the behaviour of JList
> > within a scrolling container, especially with layoutOrientation set to
> > JList.HORIZONTAL_WRAP or VERTICAL_WRAP.
>
> The fields of the Dimension class are not final, so you don't need to
> create new Dimension objects each time you want to set retVal's values.
They are not final, but I don't want to fiddle with the Dimension object
that is from getPreferredSize() since I don't know if it's a copy or
not. I it's sure that it's only a copy I would change this.
/Roman
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil