A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
JScrollPane is scrolled down - how to set it up and let the user scroll is down?
Joined: Sep 10, 2004
Nov 19, 2004 10:34:00
I have a simple question:
I have a scrollPane on a
pane = new
jsb = pane.getVerticalScrollBar();
when I invoke my frame, the textArea is at the buttom. I mean it is scrolled all the way down.
how can i make sure the textArea will always show the begining of the text (the content on the textarea) and let the user scroll down.
Joined: Jan 14, 2004
Nov 19, 2004 13:07:00
api look down to the section
Methods inherited from class
to find the method
I agree. Here's the link:
subject: JScrollPane is scrolled down - how to set it up and let the user scroll is down?
JTextarea and JScrollPane
How do you show a component that has focus?
I want to trap a JScrollPane event when scolled up or down and perform some stuffs
JScrollPane - scroll tracking
Question on Scrolling in a JTextArea
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014