• Post Reply Bookmark Topic Watch Topic
  • New Topic

Have a common JScrollBar for more than one JList [urgent]

 
netharam ram
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have a JFrame which contains three Jlists,I want to add a Jscrollpane in common to the three Jlists.If the users scrolls down all the three list items should scroll down.Please reply me as soon as possible. :roll:
Happy middling with java.
Bye from Netharam.
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a piece of code I put together awhile ago that kept 2 scrollpanes in synch.
 
netharam ram
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you paul.I haven't used this file,hope this solves my problem.
Thankyou.
Happy middling with java.
Bye from Netharam.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!