Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

my JComponent is not visible when we move scrollbar outside view port

umesh kacha
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have designed my customized JComponent which is bubble type component.User can set it to JComponent like button then above button this bubble(which is JComponent) will appear.
Now my problem is :
User has set bubble to one button and everything is inside view port but when user is using scrollbar which is outside viewport and moving viewport then bubble is dissappeared.

For example
button is at lower left corner and bubble is displayed but when I will move scrollbar to rigth side then in this case will disappear and will visible only when I will resize window because I have used hiearchy bound listeners.

But my problem is why scrollbar events are not catched by hieachy bound listeners??
how to get scrollbar event so that i can call repaint for my bubble component.

reply asap if possible.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic