• Post Reply Bookmark Topic Watch Topic
  • New Topic

Left mouse can not generate mouse clikced and released events??

 
rajesh purohit
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
We have vertical and horizontal AWT scroll bars in out applet. We are trying to capture the mouse clicked and released events on that component. But the component generates only pressed, entered and exited events. But the right mouse button generates clicked and released events (weird!!). Is there any way to fix this sothat the left mouse button generates the clicked and released events?
Any help would be appreciated.
Thanks
Rajesh Purohit
 
ming fan
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you can try to capture the adjustment event generated by the scroll bar instead of mouse event, that should be the more preferred way to detect scroll bar status change.

Originally posted by rajesh purohit:
Hi
We have vertical and horizontal AWT scroll bars in out applet. We are trying to capture the mouse clicked and released events on that component. But the component generates only pressed, entered and exited events. But the right mouse button generates clicked and released events (weird!!). Is there any way to fix this sothat the left mouse button generates the clicked and released events?
Any help would be appreciated.
Thanks
Rajesh Purohit

 
rajesh purohit
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx for ur reply but i want to use mouse release so that the matter does not scroll but will scroll only after i release the mouse. hope u will get my problem
bye
Rajesh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!