For Programmers: Free Programming Magazines  


Home > Archive > Java Help > April 2005 > JList Scroll









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author JList Scroll
Paul Thompson

2005-04-22, 8:58 pm

I've been using AWT List and decided to go modern and try JList. As I
add text lines I'd like the last entry to be at the bottom of the
window. I've tried "ensureIndexIsVisible(DefaultListModel's getSize() -
1)" and the results are really erratic.

The platform is SuSE Linux and the Java version is 1.4.2.

Thanks
Paul

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com