This week's book giveaway is in the
General Computing
forum.
We're giving away four copies of
Arduino in Action
and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See
this thread
for details.
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Swing / AWT / SWT
Author
JEditorPane
cardwell cupp
Ranch Hand
Joined: Aug 16, 2001
Posts: 66
posted
Aug 28, 2001 15:43:00
0
How do you add a vertical scrollbar to a
JEditorPane
?
Thanks to all
Cardwell (the greenesthorn)
talasila srikanth
Greenhorn
Joined: Aug 29, 2001
Posts: 1
posted
Aug 29, 2001 07:20:00
0
JEditorPane
pane=new
JEditorPane
();
JScrollPane
scroll=new
JScrollPane
(pane);
scroll.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
sri
cardwell cupp
Ranch Hand
Joined: Aug 16, 2001
Posts: 66
posted
Aug 29, 2001 12:57:00
0
Thanks for your help!
Cardwell (Getting greener all the time).
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: JEditorPane
Similar Threads
HTML Content in a JPanel
Creating a web browser with Java
Java Print Problem
Display problem in JFrame
How to clear contents of HTMLDocument in JEditorPane???
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter