File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jul 10, 2001
Jul 28, 2001 15:48:00
Here is a simple question that I can't find in the docs: What determines the width of a List component? There are no constructors that take width as a parameter.
Thanks in Advance
Joined: Jan 09, 2001
Jul 28, 2001 19:08:00
IMO, the underlying layout sizes the list. If you use a null layout the list might use the largest initial
to size itself.
I agree. Here's the link:
subject: List Width?
How do i disable scrollbars in List?
JSlider with moving Display Label with JSlider Label
width of List box in struts
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015