kcglframe.java~3~

来自「学生管理系统」· JAVA~3~ 代码 · 共 34 行

JAVA~3~
34 行
字号
package xxglxt;

import java.awt.BorderLayout;

import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.Rectangle;
import javax.swing.border.TitledBorder;
import javax.swing.JTable;

public class KcglFrame extends JPanel {
    public KcglFrame() {
        try {
            jbInit();
        } catch (Exception exception) {
            exception.printStackTrace();
        }
    }

    private void jbInit() throws Exception {
        this.setLayout(null);
        jLabel1.setText("選擇年級:");
        jLabel1.setBounds(new Rectangle(25, 24, 112, 39));
        jLabel2.setText("選擇課程:");
        jLabel2.setBounds(new Rectangle(29, 78, 67, 32));
        this.add(jLabel1);
        this.add(jLabel2);
    }

    JLabel jLabel1 = new JLabel();
    JLabel jLabel2 = new JLabel();
    TitledBorder titledBorder1 = new TitledBorder("");
}

⌨️ 快捷键说明

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