This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes scroll bar for text area Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "scroll bar for text area" Watch "scroll bar for text area" New topic

scroll bar for text area

Ana Mihailescu

Joined: Apr 26, 2001
Posts: 29
Hi, I have following problem with a text area in a scroll pane.
When I add a large text , which requires the use of the scroll bars, the scoll bars are automatically placed at the start of the text, and not at the end, as it would be better for my application.
If you have any idea please tell me !
Muhammad Mazhar Hassan

Joined: Sep 04, 2003
Posts: 1
if find any solution plz mail me at
Tony Collins
Ranch Hand

Joined: Jul 03, 2003
Posts: 435
This should do the job !

I agree. Here's the link:
subject: scroll bar for text area
Similar Threads
Multiple lines on JLabel
Rendering HTML
JScrollPane JViewport question
no scroll bars in JTextArea