On Tue, 2006-02-28 at 20:08 +0100, Roman Kennke wrote:
> Hi Lillian,
> 
> > The JFileChooser had an incredibly large width.
> 
> I am quite certain that the solution to the JFileChooser problem is to
> implement a special list subclass that implements adjusted behaviour. I
> have fought against this issue some time ago and came to this
> conclusion.

Yes, same. Quite a pain.

> 
> >  It should not be sized
> > based on the List's preferred width, it should show a set number of
> > columns at all times.
> 
> The spec says:
> <<
> If the layout orientation is not VERTICAL, than this will return the
> value from getPreferredSize.
> >>
> 
> and, AFAICS, this is what the JList should do. If we want the
> JFileChooser working for 0.21 we should probably go and implement a
> FileList that has needed behaviour. If you want, we can stick together
> our heads on IRC and work this out :-)

Sure, I agree.

Lillian


Reply via email to