Author: mmichaud
Date: 2009-04-02 07:58:34 -0700 (Thu, 02 Apr 2009)
New Revision: 16425
Modified:
csplugins/trunk/pasteur/mathieu/tunables2/src/main/java/org/cytoscape/work/internal/gui/ListSingleHandler.java
Log:
Modified:
csplugins/trunk/pasteur/mathieu/tunables2/src/main/java/org/cytoscape/work/internal/gui/ListSingleHandler.java
===================================================================
---
csplugins/trunk/pasteur/mathieu/tunables2/src/main/java/org/cytoscape/work/internal/gui/ListSingleHandler.java
2009-04-02 14:58:27 UTC (rev 16424)
+++
csplugins/trunk/pasteur/mathieu/tunables2/src/main/java/org/cytoscape/work/internal/gui/ListSingleHandler.java
2009-04-02 14:58:34 UTC (rev 16425)
@@ -2,6 +2,9 @@
package org.cytoscape.work.internal.gui;
import java.lang.reflect.*;
+import java.util.ArrayList;
+import java.util.List;
+
import javax.swing.*;
import org.cytoscape.work.AbstractGuiHandler;
@@ -30,10 +33,9 @@
jta.setWrapStyleWord(true);
panel.add(jta,BorderLayout.WEST);
jta.setBackground(null);
- jta.setEditable(false);
+ jta.setEditable(false);
combobox = new JComboBox(lss.getPossibleValues().toArray());
combobox.setFont(new Font("sansserif",Font.PLAIN,11));
-// combobox.setSelectedIndex(0);
combobox.addActionListener(this);
panel.add(combobox,BorderLayout.EAST);
}
@@ -48,9 +50,9 @@
f.set(o,lss);
}catch(Exception e){e.printStackTrace();}
}
- //System.out.println(lss.getSelectedValue());
}
-
+
+
@SuppressWarnings("unchecked")
public String getState() {
selected = (T) combobox.getSelectedItem();
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---