aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JEditorPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JEditorPane" Watch "JEditorPane" New topic
Author

JEditorPane

cardwell cupp
Ranch Hand

Joined: Aug 16, 2001
Posts: 66
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
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
Thanks for your help!
Cardwell (Getting greener all the time).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JEditorPane