--- a/jdk/src/share/classes/java/awt/SequencedEvent.java Thu Oct 14 14:07:50 2010 +0400
+++ b/jdk/src/share/classes/java/awt/SequencedEvent.java Thu Oct 14 18:24:36 2010 +0400
@@ -64,6 +64,9 @@
public SequencedEvent(AWTEvent nested) {
super(nested.getSource(), ID);
this.nested = nested;
+ // All AWTEvents that are wrapped in SequencedEvents are (at
+ // least currently) implicitly generated by the system
+ SunToolkit.setSystemGenerated(nested);
synchronized (SequencedEvent.class) {
list.add(this);
}