summaryrefslogtreecommitdiffstats
path: root/src/newt/classes
diff options
context:
space:
mode:
Diffstat (limited to 'src/newt/classes')
-rw-r--r--src/newt/classes/com/jogamp/newt/ScreenMode.java2
-rw-r--r--src/newt/classes/com/jogamp/newt/util/MonitorMode.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/newt/classes/com/jogamp/newt/ScreenMode.java b/src/newt/classes/com/jogamp/newt/ScreenMode.java
index 8fb5aabb8..c89fda597 100644
--- a/src/newt/classes/com/jogamp/newt/ScreenMode.java
+++ b/src/newt/classes/com/jogamp/newt/ScreenMode.java
@@ -142,7 +142,7 @@ public class ScreenMode implements Cloneable {
}
public final String toString() {
- return "ScreenMode[" + getMonitorMode() + ", " + rotation + " degr]";
+ return "[ " + getMonitorMode() + ", " + rotation + " degr ]";
}
/**
diff --git a/src/newt/classes/com/jogamp/newt/util/MonitorMode.java b/src/newt/classes/com/jogamp/newt/util/MonitorMode.java
index f24416469..1f4de082d 100644
--- a/src/newt/classes/com/jogamp/newt/util/MonitorMode.java
+++ b/src/newt/classes/com/jogamp/newt/util/MonitorMode.java
@@ -73,7 +73,7 @@ public class MonitorMode implements Cloneable {
}
public final String toString() {
- return new String("MonitorMode["+surfaceSize+" x "+refreshRate+" Hz, "+screenSizeMM+" [mm]x[mm]]");
+ return new String("[ "+surfaceSize+" x "+refreshRate+" Hz, "+screenSizeMM+" mm ]");
}
/**