Author: kono
Date: 2010-02-02 18:40:59 -0800 (Tue, 02 Feb 2010)
New Revision: 19158

Removed:
   
csplugins/trunk/ucsd/kono/PSIQUICUniversalClient/src/org/cytoscape/webservice/psicquic/util/SplashScreen.java
Modified:
   
csplugins/trunk/ucsd/kono/PSIQUICUniversalClient/src/org/cytoscape/webservice/psicquic/PSICQUICServiceRegistory.java
Log:
Unnecessary class removed.

Modified: 
csplugins/trunk/ucsd/kono/PSIQUICUniversalClient/src/org/cytoscape/webservice/psicquic/PSICQUICServiceRegistory.java
===================================================================
--- 
csplugins/trunk/ucsd/kono/PSIQUICUniversalClient/src/org/cytoscape/webservice/psicquic/PSICQUICServiceRegistory.java
        2010-02-03 02:05:25 UTC (rev 19157)
+++ 
csplugins/trunk/ucsd/kono/PSIQUICUniversalClient/src/org/cytoscape/webservice/psicquic/PSICQUICServiceRegistory.java
        2010-02-03 02:40:59 UTC (rev 19158)
@@ -356,15 +356,12 @@
                                e.printStackTrace();
                                return null;
                        } catch (IllegalArgumentException e) {
-                               // TODO Auto-generated catch block
                                e.printStackTrace();
                                return null;
                        } catch (IllegalAccessException e) {
-                               // TODO Auto-generated catch block
                                e.printStackTrace();
                                return null;
                        } catch (InvocationTargetException e) {
-                               // TODO Auto-generated catch block
                                e.printStackTrace();
                                return null;
                        }

Deleted: 
csplugins/trunk/ucsd/kono/PSIQUICUniversalClient/src/org/cytoscape/webservice/psicquic/util/SplashScreen.java
===================================================================
--- 
csplugins/trunk/ucsd/kono/PSIQUICUniversalClient/src/org/cytoscape/webservice/psicquic/util/SplashScreen.java
       2010-02-03 02:05:25 UTC (rev 19157)
+++ 
csplugins/trunk/ucsd/kono/PSIQUICUniversalClient/src/org/cytoscape/webservice/psicquic/util/SplashScreen.java
       2010-02-03 02:40:59 UTC (rev 19158)
@@ -1,76 +0,0 @@
-package org.cytoscape.webservice.psicquic.util;
-
-import java.awt.Dimension;
-import java.awt.EventQueue;
-
-import javax.swing.ImageIcon;
-import javax.swing.JFrame;
-import javax.swing.JLabel;
-import javax.swing.JPanel;
-import javax.swing.JWindow;
-import javax.swing.UIManager;
-import javax.swing.WindowConstants;
-
-public class SplashScreen extends JPanel {
-
-       private static final long serialVersionUID = 8169834934696574351L;
-
-       public SplashScreen() {
-               super();
-               try {
-                       // dummy task
-                       Thread.sleep(5000);
-               } catch (InterruptedException e) {
-                       e.printStackTrace();
-               }
-               setPreferredSize(new Dimension(300, 200));
-       }
-
-       public static void showSplash() {
-               try {
-                       UIManager.getInstalledLookAndFeels();
-                       
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
-               } catch (Exception e) {
-                       e.printStackTrace();
-               }
-               final JWindow splashScreen = new JWindow();
-               EventQueue.invokeLater(new Runnable() {
-                       public void run() {
-                               System.out.println("splashScreen show start / 
EDT: "
-                                               + 
EventQueue.isDispatchThread());
-                               ImageIcon img = new ImageIcon(SplashScreen.class
-                                               .getResource("splash.png"));
-                               splashScreen.getContentPane().add(new 
JLabel(img));
-                               splashScreen.pack();
-                               splashScreen.setLocationRelativeTo(null);
-                               splashScreen.setVisible(true);
-                               System.out.println("splashScreen show end");
-                       }
-               });
-
-               System.out.println("createGUI start / EDT: "
-                               + EventQueue.isDispatchThread());
-               final JFrame frame = new JFrame("SplashScreen");
-               frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
-               frame.getContentPane().add(new SplashScreen()); // new 
MainPanel() take
-                                                                               
                                // long time
-               frame.pack();
-               frame.setLocationRelativeTo(null);
-               System.out.println("createGUI end");
-
-               EventQueue.invokeLater(new Runnable() {
-                       public void run() {
-                               System.out.println("    splashScreen dispose 
start / EDT: "
-                                               + 
EventQueue.isDispatchThread());
-                               // splashScreen.setVisible(false);
-                               splashScreen.dispose();
-                               System.out.println("    splashScreen dispose 
end");
-
-                               System.out.println("  frame show start / EDT: "
-                                               + 
EventQueue.isDispatchThread());
-                               frame.setVisible(true);
-                               System.out.println("  frame show end");
-                       }
-               });
-       }
-}
\ 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.

Reply via email to