package com.black;
import java.awt.AWTException;
public class dingshidianji extends JFrame {
private ButtonGroup bg;
private JPanel contentPane;
private JTextField textField;
private JTextField textField_1;
private JTextField textField_2;
private String fangshi = “InputEvent.BUTTON1_MASK”;// 默认方式
private int shijian = 0;
public int x_move = 0, y_move = 0;
static JLabel lblNewLabel_1;
private static String str;
private JLabel label_2;
/**
* Launch the application.
*
* @throws AWTException
*/
public static void main(String[] args) throws AWTException {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
dingshidianji frame = new dingshidianji();
frame.setVisible(true);
UIManager.setLookAndFeel(new SubstanceLookAndFeel());
JFrame.setDefaultLookAndFeelDecorated(true);
JDialog.setDefaultLookAndFeelDecorated(true);
SubstanceLookAndFeel.setCurrentTheme(new SubstanceTerracottaTheme());
SubstanceLookAndFeel.setSkin(new EmeraldDuskSkin());
SubstanceLookAndFeel.setCurrentButtonShaper(new ClassicButtonShaper());
SubstanceLookAndFeel.setCurrentWatermark(new SubstanceBubblesWatermark());
SubstanceLookAndFeel.setCurrentBorderPainter(new StandardBorderPainter());
SubstanceLookAndFeel.setCurrentGradientPainter(new StandardGradientPainter());
SubstanceLookAndFeel.setCurrentTitlePainter(new FlatTitlePainter());