-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
32 lines (27 loc) · 769 Bytes
/
Copy pathMain.java
File metadata and controls
32 lines (27 loc) · 769 Bytes
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
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package cryptography;
import javax.swing.SwingUtilities;
public class Main{
public static void main(String args[])throws Exception
{
Splash s=new Splash();
s.setVisible(true);
Thread t=Thread.currentThread();
t.sleep(10000);
s.dispose();
SwingUtilities.invokeLater(new Runnable(){
public void run()
{
//opening the main application
// new NewLogin().setVisible(true);
NewLogin form=new NewLogin();
form.setSize(900,700);
form.setLocation(5, 5);
form.setVisible(true);
}
});
}
}