changeset 446:9ab123ce3d9f

remove fit screen debug info
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 17 Jun 2016 16:06:13 +0900
parents c2323d1012d4
children 3996fde6f8ed
files src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java	Fri Jun 17 15:58:14 2016 +0900
+++ b/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java	Fri Jun 17 16:06:13 2016 +0900
@@ -930,7 +930,6 @@
             // treeeManager may have its parent
         }
         if (viewer.getRfb().hasParent()) {
-            System.out.println("send serverchange to parent");
             String adr = viewer.getRfb().getMyAddress();
                 if (scanPort(adr, ConnectionParams.DEFAULT_RFB_PORT)) {
                     // -1 means request to reverse direct connection socket
@@ -998,12 +997,12 @@
         int thatRetinaScale = presenter.getRetinaScale();
         final int thatScreenWidth = presenter.getFrameSizeWidth();
         final int thatScreenHeight = presenter.getFrameSizeHeight();
-        showScreenInfo("that", 0, thatScreenX, thatScreenY, thatScreenWidth, thatScreenHeight, thatRetinaScale);
+        // showScreenInfo("that", 0, thatScreenX, thatScreenY, thatScreenWidth, thatScreenHeight, thatRetinaScale);
 
         frame.setSize(thisScreenWidth, thisScreenHeight);
         final double scale = uiSettings.fitScreen(thisScreenWidth, thisScreenHeight, thatScreenWidth, thatScreenHeight);
         // final Rectangle visible = new Rectangle(thatScreenX,thatScreenY,thatScreenWidth,thatScreenHeight);
-        showScreenInfo("this", thisScreenNumber, 0, 0,thisScreenWidth, thisScreenHeight, thisRetinaScale);
+        // showScreenInfo("this", thisScreenNumber, 0, 0,thisScreenWidth, thisScreenHeight, thisRetinaScale);
         System.out.println("thisScrollScale: " + scale);
         SwingUtilities.invokeLater(new Runnable() {
             public void run() {