Author: scooter
Date: 2011-10-11 20:51:49 -0700 (Tue, 11 Oct 2011)
New Revision: 27138

Modified:
   
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/AlignStructuresDialog.java
   
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/ModelNavigatorDialog.java
Log:
Change ModelNavigatorDialog to a JFrame so we can iconify it.


Modified: 
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/AlignStructuresDialog.java
===================================================================
--- 
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/AlignStructuresDialog.java
    2011-10-12 03:05:22 UTC (rev 27137)
+++ 
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/AlignStructuresDialog.java
    2011-10-12 03:51:49 UTC (rev 27138)
@@ -49,6 +49,7 @@
 import java.awt.Color;
 import java.awt.Dimension;
 import java.awt.Font;
+import java.awt.Frame;
 import java.awt.Dialog;
 import java.awt.GridLayout;
 import java.awt.GridBagLayout;
@@ -102,7 +103,7 @@
         * @param object the Chimera interface object
         * @param structures the List of structures open in Chimera
         */
-       public AlignStructuresDialog (Dialog parent, Chimera object, List 
structures) {
+       public AlignStructuresDialog (Frame parent, Chimera object, List 
structures) {
                super(parent, false);
                chimeraObject = object;
                this.structures = structures;

Modified: 
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/ModelNavigatorDialog.java
===================================================================
--- 
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/ModelNavigatorDialog.java
     2011-10-12 03:05:22 UTC (rev 27137)
+++ 
csplugins/trunk/ucsf/scooter/structureViz/src/structureViz/ui/ModelNavigatorDialog.java
     2011-10-12 03:51:49 UTC (rev 27138)
@@ -77,7 +77,7 @@
  * structureViz.
  */
 public class ModelNavigatorDialog 
-                       extends JDialog 
+                       extends JFrame 
                        implements TreeSelectionListener, 
TreeExpansionListener, TreeWillExpandListener {
 
        private Chimera chimeraObject;
@@ -130,7 +130,7 @@
         */
        protected ModelNavigatorDialog (Frame parent, Chimera object) {
                // super(Cytoscape.getDesktop(), "Cytoscape Molecular Structure 
Navigator");
-               super((Frame)null, "Cytoscape Molecular Structure Navigator");
+               super("Cytoscape Molecular Structure Navigator");
                chimeraObject = object;
                initComponents();
                status = false;

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