Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
44 lines (41 loc) · 986 Bytes

File metadata and controls

44 lines (41 loc) · 986 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
import java.awt.*;
import javax.swing.*;
class FrontImage implements Runnable{
JProgressBar pProgress;
Thread t;
FrontImage() throws InterruptedException{
JWindow win=new JWindow();
JPanel pan1=new JPanel();
win.add(pan1);
pan1.setLayout(null);
win.setSize(520,360);
win.setBounds(340,230,510,350);
ImageIcon ic=new ImageIcon("samsung1.jpg");
JLabel j1=new JLabel(ic);
j1.setBounds(0,0,510,350);
pan1.add(j1);
t=new Thread(this);
pProgress=new JProgressBar(0,500);
pProgress.setValue(0);
pProgress.setForeground(Color.black);
pProgress.setBackground(Color.DARK_GRAY);
pProgress.setStringPainted(true);
win.add(pProgress,BorderLayout.SOUTH);
t.start();
win.setVisible(true);
Thread.sleep(3200);
new admin_2();
win.dispose();
}
public void run(){
for (int i = 0; i<=500; i++){
try {
Thread.sleep(6);
}
catch (Exception ex) {
System.out.println (ex);
}
pProgress.setValue(i);
}
}
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.