Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Detecting when a JTable's scrolled with arrows  RSS feed

Alex Kravets
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have three JTables that are place in a row. Vertical scollbars of two rows are hidden and the right-most one is visible. I have listener attached to a right-most scrollbar so when a user moves it, the table scrolls and the two tables to the left of it scroll as well. Here is the listener:

With this set when a user scrolls with scrollbar or with arrows inside the table all tables scroll as well.
What I want to add to this is when a user scrolls table with arrows the rows of adjacent tables are highlighted. how can I do this?

[ May 04, 2005: Message edited by: Alex Kravets ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!