Remove debug message 96/10096/2
Vincent COUVERT [Mon, 31 Dec 2012 10:08:23 +0000 (11:08 +0100)]
Change-Id: Ice9dfc437aa5db95b8299cba16453950a031ed8d

scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/window/SwingScilabWindow.java

index dcc66a7..5f68e86 100644 (file)
@@ -109,11 +109,11 @@ public class SwingScilabWindow extends JFrame implements SimpleWindow {
 
         // By default ctrl+w close the window
         ActionListener listener = new ActionListener() {
-                @Override
-                public void actionPerformed(ActionEvent e) {
-                    processWindowEvent(new WindowEvent(SwingScilabWindow.this, WindowEvent.WINDOW_CLOSING));
-                }
-            };
+            @Override
+            public void actionPerformed(ActionEvent e) {
+                processWindowEvent(new WindowEvent(SwingScilabWindow.this, WindowEvent.WINDOW_CLOSING));
+            }
+        };
         getRootPane().registerKeyboardAction(listener, ScilabKeyStroke.getKeyStroke("OSSCKEY W"), JComponent.WHEN_IN_FOCUSED_WINDOW);
 
         // TODO : Only for testing : Must be removed
@@ -150,11 +150,11 @@ public class SwingScilabWindow extends JFrame implements SimpleWindow {
         setLocationByPlatform(true);
 
         addWindowListener(new WindowAdapter() {
-                @Override
-                public void windowClosing(WindowEvent e) {
-                    ClosingOperationsManager.startClosingOperation(SwingScilabWindow.this);
-                }
-            });
+            @Override
+            public void windowClosing(WindowEvent e) {
+                ClosingOperationsManager.startClosingOperation(SwingScilabWindow.this);
+            }
+        });
 
         if (MAC_OS_X) {
             registerForMacOSXEvents();
@@ -268,11 +268,11 @@ public class SwingScilabWindow extends JFrame implements SimpleWindow {
             /* javasci bug: See bug 9544 why we are doing this check */
             try {
                 SwingUtilities.invokeAndWait(new Runnable() {
-                        @Override
-                        public void run() {
-                            raiseToFront();
-                        }
-                    });
+                    @Override
+                    public void run() {
+                        raiseToFront();
+                    }
+                });
             } catch (InterruptedException e) {
                 e.printStackTrace();
             } catch (InvocationTargetException e) {
@@ -521,7 +521,7 @@ public class SwingScilabWindow extends JFrame implements SimpleWindow {
      * @param id the id of the corresponding window object
      */
     @Override
-    public void setElementId(int id) {System.out.println("Window="+id);
+    public void setElementId(int id) {
         this.elementId = id;
         //sciDockingListener.setAssociatedWindowId(id);
     }