Map<Window, Boolean> map = newWeakHashMap();
queueMap.put(toolkit.getSystemEventQueue(), map);
}
void addQueueFor(@Nonnull Component component) {
EventQueue queue = component.getToolkit().getSystemEventQueue();
Map<Window, Boolean> windowMapping = queueMap.get(queue);
if (windowMapping == null) {
windowMapping = createWindowMapping(queue);
}
if (!(component instanceof Window) || parentOf(component) != null) {