Last active
January 28, 2016 22:22
-
-
Save AnnaBoro/b2103415eff176bacdde to your computer and use it in GitHub Desktop.
+StoreSplashScreen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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