The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Problem with a JEditorPane after adding a ScrollPane

Posted by P Elliott on September 13, 2000 at 6:00 PM

I am working on a program which I have defined an html EditorPane to display locally stored htm documents. I am using a menu bar for selection of the document to display but have found out that a drop down menu will not hold all the documents possible in this application. I changed the drop down menu to a scroll pane (Borderlayout West) but now when I run the program and the scroll panel is displayed with the pane, the browser funtion will no longer work. It will not display the htm document as it did using a drop down menu.

Does anyone have any ideas what I am doing wrong? Any help would be greatly appreciated!


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us