Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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.
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!