\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
frame.setClosable(false);\r
frame.setIconifiable(false);\r
frame.setMaximizable(false);\r
- frame.setFrameIcon(null);*/\r
+ frame.setFrameIcon(null);\r
}\r
\r
public static void splashScreenClosing()\r
splashScreenVisible = false;\r
JInternalFrame [] frames = desktop.getAllFrames();\r
for(int i=0; i<frames.length; i++)\r
+ {\r
+ frames[i].invalidate();\r
frames[i].setVisible(true);\r
+ frames[i].validate();\r
+ }\r
}\r
\r
public static void addInternalFrame(final JInternalFrame frame, String title, int w, int h)\r