File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JEditorPane

 
cardwell cupp
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you add a vertical scrollbar to a JEditorPane?
Thanks to all
Cardwell (the greenesthorn)
 
talasila srikanth
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JEditorPane pane=new JEditorPane();
JScrollPane scroll=new JScrollPane(pane);
scroll.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);

sri
 
cardwell cupp
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your help!
Cardwell (Getting greener all the time).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic