import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
public class JBTest extends JFrame implements ActionListener,ChangeListener{
JProgressBar jpb;
JLabel jl;
Timer time;
JButton jb;
JPanel jp1;
/**
* @param args
*/
public static void main(String[] args) {
JBTest jb=new JBTest();
}
public JBTest(){
jb=new JButton("运行");
jb.addActionListener(this);
jl=