Scrolling JList to Bottom
- From: Paul Thompson <pault@xxxxxxxxxx>
- Date: Mon, 28 Jul 2008 13:45:30 -0500
I believe I'm using the recommended procedure:
model = (DefaultListModel) syslogList.getModel();
.........................................
model.addElement(message);
syslogList.ensureIndexIsVisible(model.getSize()-1);
but the results are very erratic. Is there something else I should be doing?
Thanks
Paul
.
- Prev by Date: Re: acces of members of subclass
- Next by Date: Re: acces of members of subclass
- Previous by thread: Trash appears in JSP page upon declaring error page
- Next by thread: Error in the equal method of generic Pair class
- Index(es):