From 0447841f3a08890bf746625d0f17976adada6ac8 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 3 Mar 2015 19:02:48 +0100 Subject: bwIDM - Shibboleth login working for Freiburg's SP - more to come rework GUI classes to work with GuiManager: use GuiManager.show() and GuiManager.openPopup() only! static openlinks class (models/links.java deleted). There are keywords to open links, e.g. OpenLinks.openWebpage("faq"). Please see the class. --- dozentenmodul/src/main/java/App.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'dozentenmodul/src/main/java/App.java') diff --git a/dozentenmodul/src/main/java/App.java b/dozentenmodul/src/main/java/App.java index 2d6be271..11ab05a8 100644 --- a/dozentenmodul/src/main/java/App.java +++ b/dozentenmodul/src/main/java/App.java @@ -1,5 +1,3 @@ -import gui.intro.Login_GUI; - import java.awt.EventQueue; import java.io.File; import java.io.IOException; @@ -11,6 +9,7 @@ import org.apache.log4j.FileAppender; import org.apache.log4j.Logger; import org.apache.log4j.PatternLayout; +import util.GuiManager; import config.Config; import config.ConfigProxy; @@ -51,6 +50,7 @@ public class App { LOGGER.info("Logger initialised."); } + public static void main(final String[] args) { // Pruefe und Erzeuge gegebenfalls Config @@ -76,10 +76,7 @@ public class App { EventQueue.invokeLater(new Runnable() { public void run() { try { - // Aufruf und Anzeige des Login Fensters - Login_GUI frame = new Login_GUI(args); - frame.setVisible(true); - + GuiManager.initGui(); } catch (Exception e) { e.printStackTrace(); JOptionPane.showMessageDialog(null, e.getStackTrace(), -- cgit v1.2.3-55-g7522