use of delta.games.lotro.gui.character.CharacterFileWindowController in project lotro-companion by dmorcellet.
the class ToonsManagementController method showToon.
private void showToon(CharacterFile toon) {
String serverName = toon.getServerName();
String toonName = toon.getName();
String id = CharacterFileWindowController.getIdentifier(serverName, toonName);
WindowController controller = _mainWindowsManager.getWindow(id);
if (controller == null) {
controller = new CharacterFileWindowController(toon);
_mainWindowsManager.registerWindow(controller);
controller.getWindow().setLocationRelativeTo(getPanel());
}
controller.bringToFront();
}
Aggregations