Author: Mathieu
Date: 2009-03-06 19:10:48 -0800 (Fri, 06 Mar 2009)
New Revision: 16165

Modified:
   
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/URLHandler.java
Log:


Modified: 
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/URLHandler.java
===================================================================
--- 
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/URLHandler.java
      2009-03-07 03:10:42 UTC (rev 16164)
+++ 
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/URLHandler.java
      2009-03-07 03:10:48 UTC (rev 16165)
@@ -47,7 +47,7 @@
                        theCategoryList.add(theCategory);
                }
                
-//             System.out.println("TEST URLHandler");
+               //System.out.println("Test URLHandler");
                
                networkFileComboBox = new JComboBox();
                networkFileComboBox.setRenderer(new MyCellRenderer());
@@ -56,8 +56,10 @@
                networkFileComboBox.setName("networkFileComboBox");
                networkFileComboBox.setToolTipText("<html><body>You can specify 
URL by the following:<ul><li>Type URL</li><li>Select from pull down 
menu</li><li>Drag & Drop URL from Web Browser</li></ul></body><html>");
                
-               panel = new JPanel(new BorderLayout());
-               panel.add(networkFileComboBox,BorderLayout.WEST);
+               //panel = new JPanel(new BorderLayout());
+               panel.add(new JLabel("URL Path = "));
+               panel.add(networkFileComboBox);
+               bookmarkEditor.setStr(pleaseMessage);
                loadBookmarkCMBox();
        }
 
@@ -94,6 +96,10 @@
                public String getURLstr() {
                        return tfInput.getText();
                }
+               
+               public void setStr(String txt){
+                       tfInput.setText(txt);
+               }
                public void addActionListener(ActionListener l) {
                        tfInput.addActionListener(l);
                }
@@ -128,9 +134,9 @@
                DefaultComboBoxModel theModel = new DefaultComboBoxModel();
 
                DataSource firstDataSource = new DataSource();
-               firstDataSource.setName(pleaseMessage);
+               firstDataSource.setName("");
                firstDataSource.setHref(null);
-               
+
                theModel.addElement(firstDataSource);
 
                // Extract the URL entries


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