classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] JList fix


From: Michael Koch
Subject: Re: [cp-patches] JList fix
Date: Sat, 26 Feb 2005 15:44:13 +0100
User-agent: mutt-ng 1.5.8i (Debian)

On Sat, Feb 26, 2005 at 11:32:48AM +0100, Roman Kennke wrote:

> Index: ChangeLog
> ===================================================================
> RCS file: /cvsroot/classpath/classpath/ChangeLog,v
> retrieving revision 1.3262
> diff -r1.3262 ChangeLog
> 0a1,6
> > 2005-02-26  Roman Kennke  <address@hidden>
> > 
> >     * javax/swing/plaf/basic/BasicListUI
> >     (updateLayoutState,paint): make BasicListUI aware of the
> >     width of the rendered JList
> > 
> Index: javax/swing/plaf/basic/BasicListUI.java
> ===================================================================
> RCS file: 
> /cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicListUI.java,v
> retrieving revision 1.10
> diff -r1.10 BasicListUI.java
> 439a440
> >             cellWidth = Math.max(cellWidth, list.getSize().width);
> 677c678
> <     maybeUpdateLayoutState();
> ---
> >     updateLayoutState();

Thanks for your work.

I think that is okay for now. We can later optimize this. Please add a
TODO or FIXME comment to the sources for this.

Please send unified diffs nextr time with a context of 3 lines (diff -u).
They are much more readable.


Michael




reply via email to

[Prev in Thread] Current Thread [Next in Thread]