final Box who = root.whoIs(mousex, mousey);
MessageQueue.add(new Message() { public void perform() {
Platform.clipboardReadEnabled = true;
- root.put("Press3", null, Boolean.TRUE);
+ root.put("Press3", Boolean.TRUE);
Platform.clipboardReadEnabled = false;
}});
}
Box b = (Box)keywatchers.elementAt(i);
for(Box cur = b; cur != null; cur = cur.getParent())
if (cur.invisible) continue outer;
- b.put("KeyPressed", null, key);
+ b.put("KeyPressed", key);
}
Platform.clipboardReadEnabled = false;
}
Box b = (Box)keywatchers.elementAt(i);
for(Box cur = b; cur != null; cur = cur.getParent())
if (cur.invisible) continue outer;
- b.put("KeyReleased", null, key);
+ b.put("KeyReleased", key);
}
}});
}
// Root gets motion events outside itself (if trapped, of course)
if (root.is_trapped("Move") && !root.inside(oldmousex, oldmousey) && !root.inside(mousex, mousey) && (button1 || button2 || button3))
- root.put("Move", null, Boolean.TRUE);
+ root.put("Move", Boolean.TRUE);
root.Move(oldmousex, oldmousey, mousex, mousey);
if (!cursor.equals(oldcursor)) syncCursor();
root._size_1 = (int)height;
root.mark_for_prerender();
- root.put("SizeChange", null, Boolean.TRUE);
+ root.put("SizeChange", Boolean.TRUE);
}
while (root.needs_prerender || abort) {
MessageQueue.add(this);
}
- public void perform() { boxContainingMouse.put(name, root, value); }
+ public void perform() { boxContainingMouse.put(name, value); }
public String toString() { return "SimpleMessage [name=" + name + ", value=" + value + "]"; }
}