classpath-patches
[Top][All Lists]
Advanced

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

Re: [cp-patches] Patch: Scroll pane containing a JList with a preferred


From: Lillian Angel
Subject: Re: [cp-patches] Patch: Scroll pane containing a JList with a preferred size.
Date: Fri, 17 Jun 2005 10:25:51 -0400

On Fri, 2005-06-17 at 08:17 -0600, Tom Tromey wrote:
> >>>>> "Lillian" == Lillian Angel <address@hidden> writes:
> 
> A small formatting nit ...
> 
> Lillian> +            if (p instanceof JScrollPane && !vd.equals( new 
> Dimension() ))
> Lillian> +                    ( (JScrollPane) p ).setPreferredSize( vd );
> 
> The spaces are in the wrong places here.  Should be:
> 
>       if (p instanceof JScrollPane && !vd.equals (new Dimension()))
>               ((JScrollPane) p).setPreferredSize(vd);
> 
> Tom

Thanks! I'll be sure to do that correctly next time.

Lillian





reply via email to

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