please help! how to emulate jre java.awt.MouseEvent in gwt? -


I want to emulate java.awt.MouseEvent class, and I define that MouseEvent InputEvent expands which java .util.EventObject Expands.

But when I run it in host mode, I get this error, it shows how my InputEvent extends the ComponentEvent? And how can I fix it? Thanks!

  java.lang.IllegalArgumentException: zero source at java.util.EventObject. & Lt; Init & gt; (EventObject.java38) at java.awt.AWTEvent & Lt; Init & gt; (Java.awt.event.java.0079) at java.awt.event.ComponentEvent. & Lt; Init & gt; (ComponentEvent.java:96) at java.awt.event.InputEvent. & Lt; Init & gt; (InputEvent.java204) at java.awt .event.MouseEvent. & Lt; Init & gt; (MouseEvent.java + 48) at java.awt.event.MouseEvent. & Lt; Init & gt; (MouseEvent.java:450)  

This situation occurred only in the host mode, when I compile it and employ it, all work fine.

Using an Incorrect Incident - This ( com.google.gwt.event. Dom.client from the package), a DomEvent H & gt; should be expanded. View widgets that apply to all mouse operators (or check individual interfaces for specific use cases).


Comments