wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes resizing a Jlist's width by the user[urgent] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "resizing a Jlist Watch "resizing a Jlist New topic

resizing a Jlist's width by the user[urgent]

netharam ram
Ranch Hand

Joined: Aug 09, 2001
Posts: 202
Hi, I have a JFrame that contains a JList,I want this to be resized in it's width by the user.For eg. in "windows find files & folders" we can resize the columns of the search list,similarly I want this to be done.Please reply as soon as possible.
Happy middling with java.
Bye from Netharam.
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

I think that JSplitPane does what you want...


Write once, run anywhere, because there's nowhere to hide! - /. A.C.
wood burning stoves
subject: resizing a Jlist's width by the user[urgent]
Similar Threads
How to control the length of <selectonemenu while while data is coming from database
JLabel Word Wrap
Writing into a .xls file through java
wrapping issue
How to get a tab character in a LJist or Jlabel?