\r
\r
/////////Add a splashscreen on startup\r
- /* JInternalFrame frame = new JInternalFrame();\r
+ JInternalFrame frame = new JInternalFrame();\r
\r
SplashScreen splash = new SplashScreen(frame, image);\r
frame.setContentPane(splash);\r
- addInternalFrame(frame, "",820,200);\r
+ addInternalFrame(frame, "",845,200);\r
splashScreenVisible = true;\r
\r
- frame.setLocation( (int)((getWidth()-820) /2), (int)((getHeight()-240) /2));\r
+ frame.setLocation( (int)((getWidth()-845) /2), (int)((getHeight()-240) /2));\r
frame.setClosable(false);\r
frame.setIconifiable(false);\r
frame.setMaximizable(false);\r
- frame.setFrameIcon(null);*/\r
- }\r
-\r
- public static void splashScreenClosing()\r
- {\r
+ frame.setFrameIcon(null);\r
splashScreenVisible = false;\r
- JInternalFrame [] frames = desktop.getAllFrames();\r
- for(int i=0; i<frames.length; i++)\r
- frames[i].setVisible(true);\r
+\r
}\r
\r
public static void addInternalFrame(final JInternalFrame frame, String title, int w, int h)\r