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

📄 frame3.java~4~

📁 简单的购票系统 jbuilder9环境编写
💻 JAVA~4~
字号:
package piao;import javax.swing.*;import java.awt.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2008</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class Frame3 extends JFrame {  JEditorPane jEditorPane1 = new JEditorPane();  JEditorPane jEditorPane2 = new JEditorPane();  JLabel jLabel1 = new JLabel();  JButton jButton1 = new JButton();  JButton jButton2 = new JButton();  public Frame3() {    try {      jbInit();    }    catch(Exception e) {      e.printStackTrace();    }  }  private void jbInit() throws Exception {    jEditorPane2.setFont(new java.awt.Font("Dialog", 1, 15));    jEditorPane2.setText("“神话”组合由Eric、金东万、李珉宇、申彗星、Junjin、Andy六人组成。是目前韩国“国民好感度”最高的组合,几个成员兄弟情深,团结一心,成功从其原经纪公司集体“出逃”可以说成为了韩国流行乐坛上不" +    "可复制的“神话”。在组合分分合合的韩国乐坛,神话组合也是最“长寿”的。 ");    jEditorPane2.setBounds(new Rectangle(16, 88, 366, 142));    this.getContentPane().setLayout(null);    jEditorPane1.setText("jEditorPane1");    jLabel1.setFont(new java.awt.Font("Dialog", 0, 15));    jLabel1.setIcon(new ImageIcon(new java.net.URL("file:///G:/picture/shinhwa yanchanghui.jpg")));    jLabel1.setText("jLabel1");    jLabel1.setBounds(new Rectangle(-402, 0, 810, 301));    jButton1.setBounds(new Rectangle(147, 245, 89, 35));    jButton1.setText("返回");    jButton2.setBounds(new Rectangle(264, 245, 92, 38));    jButton2.setText("订票");    this.getContentPane().add(jEditorPane2, null);    this.getContentPane().add(jButton1, null);    this.getContentPane().add(jButton2, null);    this.getContentPane().add(jLabel1, null);  }}

⌨️ 快捷键说明

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