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

TableColumnModelListener and width/order change on jtable columns with mouse  RSS feed

 
Fabio Piergentili
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone have any suggestions on how to get the listener to only receive the event after the width or column has been moved? I am getting many calls to the listener as the mouse is being dragged.

Thanks
 
Rob Camick
Ranch Hand
Posts: 2787
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know how to do it, but if you state why this is a problem or what your requirement is, maybe someone can come up with an alternative solution.
 
Fabio Piergentili
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe it is not a problem but it seems wrong to employ the action however many times it gets called when only the last time ( done moving or changing width in my case) is necessary.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!