This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How t o scroll in JEditorPane
 
It's not a secret anymore!