use of delta.games.lotro.maps.ui.MapWindowController in project lotro-companion by dmorcellet.
the class MainFrameController method doMap.
private void doMap() {
WindowController controller = _windowsManager.getWindow(MapWindowController.IDENTIFIER);
if (controller == null) {
File mapsDir = Config.getInstance().getMapsDir();
MapsManager mapsManager = new MapsManager(mapsDir);
mapsManager.load();
controller = new MapWindowController(mapsManager);
_windowsManager.registerWindow(controller);
controller.getWindow().setLocationRelativeTo(getFrame());
}
controller.bringToFront();
}
Aggregations