File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes JList (Scrollable?) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JList (Scrollable?)" Watch "JList (Scrollable?)" New topic
Author

JList (Scrollable?)

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I'm trying to create an application in Swing with a scrollable JList, I know in AWT it is merely a boolean setting. I can't find a way to set it in Swing.... Help
Glen Tanner
Ranch Hand

Joined: Apr 16, 1999
Posts: 147

JList doesn't support scrolling directly. To create a scrolling list you make the JList the viewport view of a JScrollPane.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Great thanks alot Glenn
 
wood burning stoves
 
subject: JList (Scrollable?)