< prev index next >

src/java.desktop/share/classes/java/awt/Event.java

Print this page

        

@@ -453,10 +453,11 @@
      * This object has been replaced by AWTEvent.getSource()
      *
      * @serial
      * @see java.awt.AWTEvent#getSource()
      */
+    @SuppressWarnings("serial") // Not statically typed as Serializable
     public Object target;
 
     /**
      * The time stamp.
      * Replaced by InputEvent.getWhen().

@@ -535,10 +536,11 @@
      * depends on the type of event.
      * {@code arg} has been replaced by event specific property.
      *
      * @serial
      */
+    @SuppressWarnings("serial") // Not statically typed as Serializable
     public Object arg;
 
     /**
      * The next event. This field is set when putting events into a
      * linked list.
< prev index next >