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

2005-06-17 Thread Roman Kennke
Hi Lillian, Lillian Angel wrote: I fixed these 2 bugs. Attached is a patch file. --- javax/swing/JViewport.java 27 May 2005 21:12:46 - 1.20 +++ javax/swing/JViewport.java 16 Jun 2005 16:56:53 - @@ -344,6 +344,12 @@ viewListener = createViewListener();

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

2005-06-17 Thread Tom Tromey
Lillian == Lillian Angel [EMAIL PROTECTED] 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

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

2005-06-17 Thread Lillian Angel
On Fri, 2005-06-17 at 08:17 -0600, Tom Tromey wrote: Lillian == Lillian Angel [EMAIL PROTECTED] writes: A small formatting nit ... Lillian +if (p instanceof JScrollPane !vd.equals( new Dimension() )) Lillian +( (JScrollPane) p ).setPreferredSize( vd );

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

2005-06-16 Thread Lillian Angel
I fixed these 2 bugs. Attached is a patch file. Bug #17360: JScrollPane has incorrect size when JList with specified size is added to it. Bug #17362: Scrollbars in JScrollPane appear only if the Container containing JScrollPane is revalidated * Here are 2 evident problems that appeared prior to