diff options
author | Constantin Kaplinsky <const@tightvnc.com> | 2008-06-20 06:51:32 +0000 |
---|---|---|
committer | Constantin Kaplinsky <const@tightvnc.com> | 2008-06-20 06:51:32 +0000 |
commit | 64446a8ac1a5735bc9eda0e2105873c1c20571c2 (patch) | |
tree | 00d0d5f72d01590ef52471441d171918c1aca497 /java | |
parent | ade425aed45451eaec73c13f0d001c3014e3b253 (diff) | |
download | tigervnc-64446a8ac1a5735bc9eda0e2105873c1c20571c2.tar.gz tigervnc-64446a8ac1a5735bc9eda0e2105873c1c20571c2.zip |
[Bugfix] Always print error messages on System.err instead of System.out.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2600 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java')
-rw-r--r-- | java/src/com/tightvnc/rfbplayer/PARfbSender.java | 2 | ||||
-rw-r--r-- | java/src/com/tightvnc/rfbplayer/RfbPlayer.java | 2 | ||||
-rw-r--r-- | java/src/com/tightvnc/rfbplayer/RfbPlayerSetDisplaySize.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/tightvnc/rfbplayer/PARfbSender.java b/java/src/com/tightvnc/rfbplayer/PARfbSender.java index 6dbaaf4c..73d09fb3 100644 --- a/java/src/com/tightvnc/rfbplayer/PARfbSender.java +++ b/java/src/com/tightvnc/rfbplayer/PARfbSender.java @@ -22,7 +22,7 @@ public class PARfbSender extends Applet { ((RfbPlayer)receiver).jumpTo(time); } } else - System.out.println("Couldn't jump to time: " + time + " in RfbPlayer."); + System.err.println("Couldn't jump to time: " + time + " in RfbPlayer."); } } diff --git a/java/src/com/tightvnc/rfbplayer/RfbPlayer.java b/java/src/com/tightvnc/rfbplayer/RfbPlayer.java index 1a0e1793..85d067d1 100644 --- a/java/src/com/tightvnc/rfbplayer/RfbPlayer.java +++ b/java/src/com/tightvnc/rfbplayer/RfbPlayer.java @@ -375,7 +375,7 @@ public class RfbPlayer extends java.applet.Applet // fatalError() - print out a fatal error message. // public void fatalError(String str) { - System.out.println(str); + System.err.println(str); if (inAnApplet) { vncContainer.removeAll(); diff --git a/java/src/com/tightvnc/rfbplayer/RfbPlayerSetDisplaySize.java b/java/src/com/tightvnc/rfbplayer/RfbPlayerSetDisplaySize.java index 02151b30..f78770fb 100644 --- a/java/src/com/tightvnc/rfbplayer/RfbPlayerSetDisplaySize.java +++ b/java/src/com/tightvnc/rfbplayer/RfbPlayerSetDisplaySize.java @@ -14,7 +14,7 @@ public class RfbPlayerSetDisplaySize extends Applet { if (receiver != null) { ((RfbPlayer)receiver).displaySize(width, height); } else - System.out.println("Couldn't resize RfbPlayer."); + System.err.println("Couldn't resize RfbPlayer."); } } |