Author: ruschein
Date: 2010-11-22 16:23:56 -0800 (Mon, 22 Nov 2010)
New Revision: 22990
Modified:
core3/table-browser-impl/trunk/src/main/java/org/cytoscape/browser/internal/TableBrowser.java
Log:
Work in progress.
Modified:
core3/table-browser-impl/trunk/src/main/java/org/cytoscape/browser/internal/TableBrowser.java
===================================================================
---
core3/table-browser-impl/trunk/src/main/java/org/cytoscape/browser/internal/TableBrowser.java
2010-11-23 00:06:31 UTC (rev 22989)
+++
core3/table-browser-impl/trunk/src/main/java/org/cytoscape/browser/internal/TableBrowser.java
2010-11-23 00:23:56 UTC (rev 22990)
@@ -2,7 +2,9 @@
import java.awt.Component;
+import java.awt.Dimension;
import javax.swing.JPanel;
+import javax.swing.JLabel;
import javax.swing.Icon;
import org.cytoscape.application.swing.CytoPanelComponent;
@@ -11,16 +13,28 @@
@SuppressWarnings("serial")
public class TableBrowser extends JPanel implements CytoPanelComponent {
+ public TableBrowser() {
+ super();
+
+ setPreferredSize(new Dimension(0, 100));
+ add(new JLabel("Here's the table browser!"));
+
+ setVisible(true);
+System.err.println("========================================== after
setVisible()!");
+ }
+
/**
* Returns the Component to be added to the CytoPanel.
* @return The Component to be added to the CytoPanel.
*/
+ @Override
public Component getComponent() { return this; }
/**
* Returns the name of the CytoPanel that this component should be
added to.
* @return the name of the CytoPanel that this component should be
added to.
*/
+ @Override
public CytoPanelName getCytoPanelName() {
return CytoPanelName.SOUTH;
}
@@ -29,10 +43,12 @@
* Returns the title of the tab within the CytoPanel for this component.
* @return the title of the tab within the CytoPanel for this component.
*/
+ @Override
public String getTitle() { return "Table Browser"; }
/**
* @return null
*/
+ @Override
public Icon getIcon() { return null; }
}
\ No newline at end of file
--
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.