File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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.
I agree. Here's the link:
subject: resizing a Jlist's width by the user[urgent]
It's not a secret anymore!