summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/Gui.java
diff options
context:
space:
mode:
authorJonathan Bauer2015-07-27 18:13:25 +0200
committerJonathan Bauer2015-07-27 18:13:25 +0200
commit2eee1c291f08119d89c844f840f662cf356ca26c (patch)
tree9b8ff080894c72a8b41ed7a03cdc118321bef197 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/Gui.java
parent[client] ResourceLoader back to swing (diff)
downloadtutor-module-2eee1c291f08119d89c844f840f662cf356ca26c.tar.gz
tutor-module-2eee1c291f08119d89c844f840f662cf356ca26c.tar.xz
tutor-module-2eee1c291f08119d89c844f840f662cf356ca26c.zip
[client] swingified LoginWindow (no functionality yet! just commented them out for now)
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/Gui.java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/Gui.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/Gui.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/Gui.java
index bd4171fb..54d4ab4a 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/Gui.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/Gui.java
@@ -136,7 +136,7 @@ public class Gui {
* primary monitor if true, <code>null</code> otherwise
* @return the {@link Monitor}
*/
- private static GraphicsDevice getMonitorFromRectangle(Rectangle rect, boolean defaultToPrimary) {
+ public static GraphicsDevice getMonitorFromRectangle(Rectangle rect, boolean defaultToPrimary) {
// Make sure rectangle is in bounds. This is not completely accurate
// in case there are multiple monitors that have different resolutions.
GraphicsDevice[] screens = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices();