adte
10/13/2022, 3:09 PMKirill Grouchnikov
10/13/2022, 3:18 PMMouseInfo.getPointerInfo().getLocation()
Kirill Grouchnikov
10/13/2022, 3:19 PMSwingUtilities.convertPointFromScreen
to convert that to the coord system of your componentadte
10/13/2022, 3:23 PMconvertPointFromScreen
has a component parameter, how can I retrieve the component from a compose element in my function?adte
10/13/2022, 3:26 PMonPointerEvent(PointEventType.Scroll)
as that seems a more desktop oriented API (I can get a reference to the awt mouse event)Kirill Grouchnikov
10/13/2022, 3:26 PMOnGloballyPositionedModifier
would be better suited for the conversion then.adte
10/13/2022, 3:36 PMKirill Grouchnikov
10/13/2022, 3:43 PM