package Timer;
//测试日期选择插件
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Locale;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import com.eltima.components.ui.DatePicker;
public class Timer extends JFrame implements ActionListener{
public static void main(String[] args) {
new Timer();
}
JButton jb=new JButton("获取时间");
DatePicker datePick;
public Timer() {
super();
this.setLayout(null);
this.add(jb);
jb.setBounds(137, 183, 100, 30);
jb.addActionListener(this);
datePick=getDatePicker();
datePic