summaryrefslogtreecommitdiffstats
path: root/src/newt
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-10-26 05:04:57 +0200
committerSven Gothel <[email protected]>2010-10-26 05:04:57 +0200
commit7cc10bde2ebe22ad9c9f85e9d1de40f46a35b14d (patch)
treee19827b2ea74842c3f4381a5a1dd903a6ed634b0 /src/newt
parenta34d04ad4d9a46a30772b3984baf692a59e8b608 (diff)
RectangleReadOnly clonable; Make strings more readable
Diffstat (limited to 'src/newt')
-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 ]");
}
/**