Skip to content

Instantly share code, notes, and snippets.

@AnnaBoro
Last active January 28, 2016 22:22
Show Gist options
  • Save AnnaBoro/b2103415eff176bacdde to your computer and use it in GitHub Desktop.
Save AnnaBoro/b2103415eff176bacdde to your computer and use it in GitHub Desktop.
+StoreSplashScreen
package lesson6_9.adapter.mvc.shop;
import java.awt.*;
public class Launcher {
public static void main(String[] args) throws InterruptedException {
SplashScreen splashScreen = SplashScreen.getSplashScreen();
Thread.sleep(5000);
Graphics2D g = splashScreen.createGraphics();
g.setColor(Color.WHITE);
g.drawString("Loading ...", 280, 370);
splashScreen.update();
Thread.sleep(5000);
splashScreen.close();
Store store = new Store();
new StoreUI1(store);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment