-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathGsoft_pos.java
More file actions
44 lines (36 loc) · 1.05 KB
/
Gsoft_pos.java
File metadata and controls
44 lines (36 loc) · 1.05 KB
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
/*
* Java-Rice - An Interactive Food Ordering System group project for Intermediate Proggraming
*
* Group Members:
* 1. Kurt Daniel S. Cano
* 2. Mike Rufino J. Caram II
* 3. Joshua O. Lonoza
* 4. Kevin A. Llanes
* 5. Jhon Keneth Ryan B. Namias
*/
package Java_Rice;
import java.awt.Color;
public class Gsoft_pos {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
Progress p = new Progress();
p.setVisible(true);
try{
for(int i = 0; i <= 100; i++){
Thread.sleep(50);
p.percent.setText(Integer.toString(i)+"%");
Login log = new Login();
if(i == 70){
p.system_load.setText("System ready. . .");
}else if(i == 100){
log.show();
p.setVisible(false);
}
}
}catch(Exception x){
}
}
}