package system;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JLabel;
import org.eclipse.swt.widgets.Display;
import javax.swing.ImageIcon;
import java.awt.Font;
import java.awt.Color;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
public class Begin {
private JFrame frame;
/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
Begin window = new Begin();
window.frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
/**
* Create the application.
*/
public Begin() {
initialize();
}
/**
* Initialize the contents of the frame.
*/
private void initialize() {
frame = new JFrame();
frame.setForeground(new Color(0, 204, 255));
frame.setFont(new Font("Dialog", Font.BOLD, 16));
frame.setTitle("\u6E38\u6CF3\u9986\u7BA1\u7406\u7CFB\u7EDF");
frame.setBounds(100, 100, 752, 617);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.getContentPane().setLayout(null);
frame .setLocationRelativeTo( null );
JButton button = new JButton("");
button.setBackground(Color.WHITE);
button.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
frame.dispose();
new Adm().main(null);
}
});
button.setIcon(new ImageIcon("./pictures/666.gif"));
button.setFont(new Font("幼圆", Font.BOLD, 24));
button.setForeground(Color.WHITE);
button.setBounds(246, 179, 218, 195);
frame.getContentPane().add(button);
JLabel label = new JLabel("");
label.setForeground(new Color(51, 204, 255));
label.setIcon(new ImageIcon("./pictures/666.gif"));
label.setBounds(0, 0, 368, 279);
frame.getContentPane().add(label);
JLabel label_1 = new JLabel("");
label_1.setIcon(new ImageIcon("./pictures/666.gif"));
label_1.setForeground(new Color(51, 204, 255));
label_1.setBounds(362, 0, 368, 279);
frame.getContentPane().add(label_1);
JLabel label_2 = new JLabel("");
label_2.setIcon(new ImageIcon("./pictures/666.gif"));
label_2.setForeground(new Color(51, 204, 255));
label_2.setBounds(0, 274, 384, 287);
frame.getContentPane().add(label_2);
JLabel label_3 = new JLabel("");
label_3.setIcon(new ImageIcon("./pictures/666.gif"));
label_3.setForeground(new Color(51, 204, 255));
label_3.setBounds(362, 274, 368, 287);
frame.getContentPane().add(label_3);
}
}
最近下载更多
泰州市斑驳时光 LV4
2023年9月15日
queueandstack LV3
2022年12月2日
计算机暴龙战士 LV19
2022年11月19日
testuser1234567 LV24
2022年5月31日
微信网友_5872158626074624 LV3
2022年3月17日
lmj0911 LV3
2021年9月6日
ericxu1116 LV24
2021年6月23日
zktotti
2021年6月23日
暂无贡献等级
wanglinddad LV55
2021年6月11日
纯纯粹粹112332 LV6
2021年6月8日

最近浏览