⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 welcome.java

📁 网吧管理系统JAVA代码
💻 JAVA
字号:
package netbar;

import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.*;
import javax.swing.ImageIcon;

public class Welcome extends JPanel {
    public Welcome() {
        try {
            jbInit();
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        try {
            jbInit();
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }

    private void jbInit() throws Exception {
        this.setLayout(null);
        jLabel1.setFont(new java.awt.Font("Dialog", Font.BOLD, 20));
        jLabel1.setForeground(Color.yellow);
        jLabel1.setText("欢迎来到网吧管理系统");
        jLabel1.setBounds(new Rectangle(61, 35, 233, 54));
        jLabel2.setForeground(Color.yellow);
        jLabel2.setText("开发小组:五指");
        jLabel2.setBounds(new Rectangle(29, 198, 147, 23));
        jLabel3.setForeground(Color.yellow);
        jLabel3.setText("组长:张晶晶");
        jLabel3.setBounds(new Rectangle(29, 221, 76, 23));
        jLabel4.setForeground(Color.yellow);
        jLabel4.setText("组员:许志建,田芳,岳宗顺,张宝祥");
        jLabel4.setBounds(new Rectangle(29, 243, 348, 18));
        jLabel5.setForeground(Color.yellow);
        jLabel5.setIcon(null);
        jLabel5.setText("版本 1.0");
        jLabel5.setBounds(new Rectangle(142, 78, 56, 35));
        jLabel6.setFont(new java.awt.Font("Dialog", Font.BOLD, 15));
        jLabel6.setForeground(Color.yellow);
        jLabel6.setIcon(null);
        jLabel6.setText("北大青鸟S1T27第四组");
        jLabel6.setBounds(new Rectangle(85, 281, 178, 28));
        this.setFont(new java.awt.Font("Dialog", Font.BOLD, 15));
        jLabel7.setIcon(pic);
        jLabel7.setBounds(new Rectangle(0, 0, 378, 330));
        this.add(jLabel3);
        this.add(jLabel4);
        this.add(jLabel2);
        this.add(jLabel1);
        this.add(jLabel6);
        this.add(jLabel5);
        this.add(jLabel7);
    }
    JLabel jLabel1 = new JLabel();
    JLabel jLabel2 = new JLabel();
    JLabel jLabel3 = new JLabel();
    JLabel jLabel4 = new JLabel();
    JLabel jLabel5 = new JLabel();
    ImageIcon pic=new ImageIcon("1.jpg");
    JLabel jLabel6 = new JLabel();
    JLabel jLabel7 = new JLabel();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -