diff options
author | Stephan Schwaer | 2015-06-26 16:05:49 +0200 |
---|---|---|
committer | Stephan Schwaer | 2015-06-26 16:05:49 +0200 |
commit | 0131684b7f4b422de49494efe0c9e45dc3359fed (patch) | |
tree | 16ec5ec9ee9a628afaee9e7b949b99f902b2867d /dozentenmodul/src/main/java/App.java | |
parent | Added GUI for Login (diff) | |
download | tutor-module-0131684b7f4b422de49494efe0c9e45dc3359fed.tar.gz tutor-module-0131684b7f4b422de49494efe0c9e45dc3359fed.tar.xz tutor-module-0131684b7f4b422de49494efe0c9e45dc3359fed.zip |
Added disclaimer, main window and vmware info windows. Fixed some layout.
Diffstat (limited to 'dozentenmodul/src/main/java/App.java')
-rw-r--r-- | dozentenmodul/src/main/java/App.java | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/dozentenmodul/src/main/java/App.java b/dozentenmodul/src/main/java/App.java index 96c9c335..541400e1 100644 --- a/dozentenmodul/src/main/java/App.java +++ b/dozentenmodul/src/main/java/App.java @@ -51,7 +51,7 @@ public class App { BasicConfigurator.configure(); return; } - + final FileAppender ffa = fa; final Pattern re = Pattern.compile("authorization:(\\w|\\+|/|\\s)+", Pattern.CASE_INSENSITIVE | Pattern.MULTILINE); @@ -110,23 +110,23 @@ public class App { LOGGER.error("IOException when trying to initialise the proxy, see trace: ", e); } -// // Set up thrift error message displaying -// ThriftManager.setErrorCallback(new ErrorCallback() { -// -// @Override -// public void thriftError(Throwable t, String message) { -// EventQueue.invokeLater(new Runnable() { -// -// @Override -// public void run() { -// JOptionPane.showMessageDialog(null, "Die Kommunikation mit dem Server ist fehlgeschlagen.\n" -// + "Bitte stellen Sie sicher, dass Sie mit dem Internet verbunden sind.\n" -// + "Sofern das Problem weiterhin besteht, liegt möglicherweise eine serverseitige\n" -// + "Störung vor.", "Fehler", JOptionPane.ERROR_MESSAGE); -// } -// }); -// } -// }); + // // Set up thrift error message displaying + // ThriftManager.setErrorCallback(new ErrorCallback() { + // + // @Override + // public void thriftError(Throwable t, String message) { + // EventQueue.invokeLater(new Runnable() { + // + // @Override + // public void run() { + // JOptionPane.showMessageDialog(null, "Die Kommunikation mit dem Server ist fehlgeschlagen.\n" + // + "Bitte stellen Sie sicher, dass Sie mit dem Internet verbunden sind.\n" + // + "Sofern das Problem weiterhin besteht, liegt möglicherweise eine serverseitige\n" + // + "Störung vor.", "Fehler", JOptionPane.ERROR_MESSAGE); + // } + // }); + // } + // }); // start the GUI GuiManager.initGui(); |