wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes How t o scroll in JEditorPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How t o scroll in JEditorPane" Watch "How t o scroll in JEditorPane" New topic
Author

How t o scroll in JEditorPane

Pradeep Kadambar
Ranch Hand

Joined: Oct 18, 2004
Posts: 148
Hi,

I have a file content comparison tool where I have two JEditorPanes displaying the two versions of the same file.

What I am trying to do is, when the user scrolls one document the other scrollpane also has to move down in sync. Adding a AdjustmentListner will help the cause??

Please put forth some suggestions.

 
 
subject: How t o scroll in JEditorPane