首页>代码>基于C/S的java swing游泳管理系统>/数据库/系统/swim/src/system/Begin.java
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  LV54 2021年6月11日
纯纯粹粹112332  LV6 2021年6月8日
最近浏览更多
lshlsh 2023年12月25日
暂无贡献等级
李朝磊  LV18 2023年12月3日
夜猫子111  LV2 2023年11月6日
jkjfdgbkl  LV2 2023年11月2日
dsadasdwf  LV12 2023年10月23日
sunshine9920  LV12 2023年10月19日
泰州市斑驳时光  LV4 2023年9月15日
阳光男孩阿葵 2023年7月14日
暂无贡献等级
KAIzx11  LV7 2023年6月25日
LongTory  LV2 2023年6月6日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友