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
_______________________________________________ Classpath-patches mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath-patches
