This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am building a balloon tooltip and the tooltip got cut off by the flash player's border when the target component was scrolled close to the border of browser window so I want to position the balloon according to the distance between target component and window's border in a scrolling environment to avoid the tooltip overlap with borders.
I have two major issues:
1). since the target component (that trigger the tooltip) is in a scrolling container so localToGlobal didn't tell me too much about where the target component is.
2). I draw and position my balloon in updateDisplayList so I didn't have mouse event access ...