Blame view
circus/src/circusRefine/gui/StartCircusRefine.java
1.34 KB
8d0dc533f
![]() |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
package circusRefine.gui; import circusRefine.core.CircusRefine; import circusRefine.core.ExternalManager; /** * This class is the first called when the user gives a double click on * the JLotos.jar file. It calls the splash screen, closes it and calls the * JLotos main window. * @author diego */ public class StartCircusRefine { public static void main(String[] args) { final TelaSplash ts = new TelaSplash(); java.awt.EventQueue.invokeLater(new Runnable() { @Override public void run() { ts.setVisible(true); } }); //Espera um tempo para que a imagem de splash seja exibida Runnable runner = new Runnable() { @Override public void run() { try { Thread.sleep(2000); } catch (InterruptedException e) { } } }; runner.run(); ts.dispose(); java.awt.EventQueue.invokeLater(new Runnable() { @Override public void run() { ExternalManager gerInterface = new ExternalManager("en", "uk"); CircusRefine program = new CircusRefine(gerInterface); program.inicializar(); } }); } } |