I need my tooltips to be able to draw outside the ...
# compose-desktop
m
I need my tooltips to be able to draw outside the window (if, for example, the element the tooltip is for is near the edge of the window).
TooltipArea
tooltips seems unable to do that. Is there a solution? I saw that tooltips in @Kirill Grouchnikov's Aurora can display outside the window, how was that implemented?
k
Aurora tooltips are implemented using their own windows.
JPopupMenu.setDefaultLightWeightPopupEnabled(false)
is the key call there to enable display of the underlying popup menus as heavyweight AWT windows. See this documentation block in Aurora’s popup manager on more details of the moving pieces involved.
thank you color 1
👍 1