use of delta.games.lotro.gui.about.AboutDialogController in project lotro-companion by dmorcellet.
the class MainFrameController method doAbout.
private void doAbout() {
String id = AboutDialogController.getIdentifier();
WindowController controller = _windowsManager.getWindow(id);
if (controller == null) {
JFrame thisFrame = getFrame();
controller = new AboutDialogController(this);
_windowsManager.registerWindow(controller);
Window w = controller.getWindow();
w.setLocationRelativeTo(thisFrame);
Point p = w.getLocation();
w.setLocation(p.x + 100, p.y + 100);
}
controller.bringToFront();
}
Aggregations