This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Applets and the fly likes TextArea scrollbar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "TextArea scrollbar" Watch "TextArea scrollbar" New topic

TextArea scrollbar

Robert Stewart

Joined: Aug 02, 2001
Posts: 5
Is there a way to enable the vertical scrollbar of a text area while leaving the text area itself disabled? In other words, a user can not enter text but can scroll through the text. Anybody know? Thanks!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17280

Do you mean that there's text in the area and you want to be able to scroll it without it being editable? Just set the "editable" property of the text area false.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: TextArea scrollbar
It's not a secret anymore!