File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

How t o scroll in JEditorPane

Pradeep Kadambar
Ranch Hand

Joined: Oct 18, 2004
Posts: 148

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.

I agree. Here's the link:
subject: How t o scroll in JEditorPane
Similar Threads
Class not found error from deployed servlet
Synchronous write to same file using different file pointers
Jasper reports Two queryString in one Jrxml
Is there away I can have two or more classes in same file?
Comilation Problem