about.java~15~

来自「济南公交管理系统 (不完善,没有解决循环线路问题)」· JAVA~15~ 代码 · 共 37 行

JAVA~15~
37
字号
import javax.swing.*;import java.awt.*;public class about extends JFrame {  JLabel jLabel1 = new JLabel();  JTextArea jTextArea1 = new JTextArea();  JButton jButton1 = new JButton();  public about() {    try {      jbInit();    }    catch(Exception e) {      e.printStackTrace();    }  }  private void jbInit() throws Exception {    ImageIcon logo=new ImageIcon("picture/jnbus.jpg");    jLabel1.setText("");    jLabel1.setBounds(new Rectangle(1, 0, 106, 29));    this.getContentPane().setLayout(null);    this.getContentPane().setBackground(SystemColor.inactiveCaption);    jTextArea1.setBackground(SystemColor.inactiveCaption);    jTextArea1.setEditable(false);    jTextArea1.setText("济南公交查询系统");    jTextArea1.setBounds(new Rectangle(116, 2, 122, 58));    jButton1.setBackground(SystemColor.inactiveCaption);    jButton1.setBounds(new Rectangle(84, 65, 73, 25));    jButton1.setText("确定");    this.getContentPane().add(jLabel1, null);    this.getContentPane().add(jTextArea1, null);    this.getContentPane().add(jButton1, null);    jLabel1.setIcon(logo);  }}

⌨️ 快捷键说明

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