• Post Reply Bookmark Topic Watch Topic
  • New Topic

JScrollpane  RSS feed

 
sunil kumar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I am using a JScollpane and adding a JTable to the viewport which
i get . Now on mouse over this is resized however the Scrollpane
and viewport do not respond to mouse movement , instead i have to click and resize by dragging . Why is this abnormal bevahiour??
TIA.
Sunil
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sunil,
Mouse clicks and drags are handled by different listeners than mouse moves. Have you registered a mouseMotionListener with the components in question or just a mouseListener?
Nick
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!