permaculture playing cards*
The moose likes Swing / AWT / SWT and the fly likes JList in JScrollPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JList in JScrollPane" Watch "JList in JScrollPane" New topic
Author

JList in JScrollPane

Paul Keohan
Ranch Hand

Joined: Mar 15, 2000
Posts: 411
I have a JList sitting in a JScrollPane so that as soon as the list is 'full', the scroll bar appears on the side. How do I set this up so that I get to see what's being added to the bottom of the list? Currently, although the list is being added to I only see the top few entries and I have to use the scroll bar to see the bottom entries.
Thanks.
Paul
Chantal Ackermann
Ranch Hand

Joined: Sep 28, 2000
Posts: 508
There are more than one possibilities. one is:

chantal
 
 
subject: JList in JScrollPane