Author: kono
Date: 2011-11-17 12:09:38 -0800 (Thu, 17 Nov 2011)
New Revision: 27516

Modified:
   
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkPanel.java
   
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/TreeCellRenderer.java
Log:
Some cosmetic issues had been fixed.

Modified: 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkPanel.java
===================================================================
--- 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkPanel.java
 2011-11-17 20:09:29 UTC (rev 27515)
+++ 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkPanel.java
 2011-11-17 20:09:38 UTC (rev 27516)
@@ -33,8 +33,6 @@
 import java.awt.Color;
 import java.awt.Component;
 import java.awt.Dimension;
-import java.awt.Image;
-import java.awt.Toolkit;
 import java.awt.event.MouseAdapter;
 import java.awt.event.MouseEvent;
 import java.util.ArrayList;
@@ -46,7 +44,6 @@
 import java.util.List;
 import java.util.Map;
 
-import javax.swing.Icon;
 import javax.swing.InputMap;
 import javax.swing.JMenuItem;
 import javax.swing.JPanel;
@@ -86,7 +83,6 @@
 import org.cytoscape.model.events.RowsSetListener;
 import org.cytoscape.model.subnetwork.CyRootNetwork;
 import org.cytoscape.model.subnetwork.CySubNetwork;
-import org.cytoscape.property.session.Parent;
 import org.cytoscape.task.NetworkCollectionTaskFactory;
 import org.cytoscape.task.NetworkTaskFactory;
 import org.cytoscape.task.NetworkViewCollectionTaskFactory;
@@ -192,7 +188,7 @@
                treeTable.setBackground(Color.white);
                treeTable.setSelectionBackground(new Color(200, 200, 200, 150));
 
-               treeTable.getColumn("Network").setPreferredWidth(120);
+               treeTable.getColumn("Network").setPreferredWidth(250);
                treeTable.getColumn("Nodes").setPreferredWidth(45);
                treeTable.getColumn("Edges").setPreferredWidth(45);
 

Modified: 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/TreeCellRenderer.java
===================================================================
--- 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/TreeCellRenderer.java
     2011-11-17 20:09:29 UTC (rev 27515)
+++ 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/TreeCellRenderer.java
     2011-11-17 20:09:38 UTC (rev 27516)
@@ -24,8 +24,8 @@
        private static final String NETWORK_ICON = "/images/network_32.png";
        private static final String NETWORK_LEAF_ICON = 
"/images/network_l_32.png";
 
-       private static final Font TABLE_FONT = new Font("SansSerif", 
Font.PLAIN, 14);
-       private static final Font TABLE_FONT_SELECTED = new Font("SansSerif", 
Font.BOLD, 14);
+       private static final Font TABLE_FONT = new Font("SansSerif", 
Font.PLAIN, 12);
+       private static final Font TABLE_FONT_SELECTED = new Font("SansSerif", 
Font.BOLD, 12);
        
        private static final Dimension CELL_SIZE = new Dimension(1200, 40);
 

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to