[Swift-commit] r6677 - in trunk/src/org/griphyn/vdl/karajan/monitor/monitors: http swing

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Mon Jul 29 01:13:15 CDT 2013


Author: hategan
Date: 2013-07-29 01:13:14 -0500 (Mon, 29 Jul 2013)
New Revision: 6677

Modified:
   trunk/src/org/griphyn/vdl/karajan/monitor/monitors/http/HTTPServer.java
   trunk/src/org/griphyn/vdl/karajan/monitor/monitors/swing/GridView.java
Log:
java 6 compatibility

Modified: trunk/src/org/griphyn/vdl/karajan/monitor/monitors/http/HTTPServer.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/monitor/monitors/http/HTTPServer.java	2013-07-29 06:08:45 UTC (rev 6676)
+++ trunk/src/org/griphyn/vdl/karajan/monitor/monitors/http/HTTPServer.java	2013-07-29 06:13:14 UTC (rev 6677)
@@ -69,7 +69,7 @@
 
     public void start() throws IOException {
         channel = ServerSocketChannel.open();
-        channel.bind(new InetSocketAddress(port));
+        channel.socket().bind(new InetSocketAddress(port));
         logger.info("HTTPMonitor server created");
         Thread t = new Thread(this);
         t.setDaemon(true);

Modified: trunk/src/org/griphyn/vdl/karajan/monitor/monitors/swing/GridView.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/monitor/monitors/swing/GridView.java	2013-07-29 06:08:45 UTC (rev 6676)
+++ trunk/src/org/griphyn/vdl/karajan/monitor/monitors/swing/GridView.java	2013-07-29 06:13:14 UTC (rev 6677)
@@ -341,7 +341,7 @@
             }
             double pos = (double) v / range;
             tree.splitPosition = pos;
-            getParent().revalidate();
+            getParent().invalidate();
             getParent().repaint();
         }
 




More information about the Swift-commit mailing list