Author: scooter
Date: 2011-08-03 16:38:59 -0700 (Wed, 03 Aug 2011)
New Revision: 26372

Modified:
   
csplugins/trunk/ucsf/scooter/namedSelection/src/namedSelection/ui/GroupPanel.java
Log:
Update group panel again


Modified: 
csplugins/trunk/ucsf/scooter/namedSelection/src/namedSelection/ui/GroupPanel.java
===================================================================
--- 
csplugins/trunk/ucsf/scooter/namedSelection/src/namedSelection/ui/GroupPanel.java
   2011-08-03 22:56:53 UTC (rev 26371)
+++ 
csplugins/trunk/ucsf/scooter/namedSelection/src/namedSelection/ui/GroupPanel.java
   2011-08-03 23:38:59 UTC (rev 26372)
@@ -132,15 +132,14 @@
 
                depthBox = new JPanel();
                depthBox.setLayout(new BoxLayout(depthBox, BoxLayout.X_AXIS));
+               TitledBorder depthBorder = 
BorderFactory.createTitledBorder("Expansion depth:");
+               depthBorder.setTitlePosition(TitledBorder.LEFT);
+               depthBorder.setTitlePosition(TitledBorder.ABOVE_TOP);
+               depthBox.setBorder(depthBorder);
                depthGroup = new ButtonGroup();
                addDepthButtons(1);
 
-               controlPanel.add(new javax.swing.JLabel("<html><b>Expansion 
Depth</b></html>"));
                // Border it
-               TitledBorder depthBorder = BorderFactory.createTitledBorder("");
-               depthBorder.setTitlePosition(TitledBorder.LEFT);
-               depthBorder.setTitlePosition(TitledBorder.TOP);
-               depthBox.setBorder(depthBorder);
                controlPanel.add(depthBox);
 
                add(controlPanel, BorderLayout.NORTH);
@@ -284,6 +283,7 @@
                newButton.setActionCommand(command);
                newButton.addActionListener(this);
                newButton.setEnabled(enabled);
+               newButton.setMargin(new java.awt.Insets(0, 0, 0, 0));
                return newButton;
        }
 

-- 
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