如何为某些MouseWheelEvent生成事件Object

最佳答案

MouseWheelEvent mwe = new MouseWheelEvent(...);
component.dispatchEvent( mwe );

07-27 17:59