// Creates non-default dispatcher to register own broadcasters and listeners.
eventDispatcher = new EventDispatcher();
// Creates default mapDisplay
UnfoldingMap map1 = new UnfoldingMap(this, "map1", 10, 10, 400, 400);
map1.setTweening(false);
map1.setActive(false);
maps.add(map1);
UnfoldingMap map2 = new UnfoldingMap(this, "map2", 420, 10, 400, 400);
map2.setTweening(false);
maps.add(map2);
UnfoldingMap map3 = new UnfoldingMap(this, "map3", 830, 10, 400, 400);
map3.setTweening(false);
map3.setActive(false);
maps.add(map3);
MouseHandler mouseHandler = new MouseHandler(this, maps);
eventDispatcher.addBroadcaster(mouseHandler);
KeyboardHandler keyboardHandler = new KeyboardHandler(this, maps);