[MOBY-guts] biomoby commit

Dmitry Repchevski drepchevski at dev.open-bio.org
Thu May 27 12:17:58 UTC 2010


drepchevski
Thu May 27 08:17:58 EDT 2010
Update of /home/repository/moby/moby-live/Java/src/main/org/inb/biomoby/central/gui
In directory dev.open-bio.org:/tmp/cvs-serv11585

Modified Files:
	AbstractEntityTreePanel.java 
Log Message:
Entity description popup added.
moby-live/Java/src/main/org/inb/biomoby/central/gui AbstractEntityTreePanel.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/inb/biomoby/central/gui/AbstractEntityTreePanel.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/org/inb/biomoby/central/gui/AbstractEntityTreePanel.java	2009/12/17 11:40:49	1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/inb/biomoby/central/gui/AbstractEntityTreePanel.java	2010/05/27 12:17:58	1.2
@@ -19,6 +19,7 @@
 import javax.swing.JPanel;
 import javax.swing.JTree;
 import javax.swing.JViewport;
+import javax.swing.ToolTipManager;
 import javax.swing.event.ChangeEvent;
 import javax.swing.event.ChangeListener;
 import javax.swing.tree.DefaultMutableTreeNode;
@@ -53,6 +54,8 @@
         
         tree.setCellRenderer(new EntityTreeCellRenderer());
 
+        ToolTipManager.sharedInstance().registerComponent(tree);
+
         scroll = new DecoratedJScrollPane(tree);
         scroll.getViewport().addChangeListener(this);
 




More information about the MOBY-guts mailing list