JBuilder设计实例

源代码在线查看: frame1.java~7~

软件大小: 10516 K
上传用户: yitiaojin135
关键词: JBuilder 设计实例
下载地址: 免注册下载 普通下载 VIP

相关代码

				package ex10_03;								import java.awt.*;				import java.awt.event.*;				import javax.swing.*;				import java.util.*;								public class Frame1 extends JFrame {				  JPanel contentPane;				  JButton jButton1 = new JButton();				  JTextField jTextField1 = new JTextField();				  JScrollPane jScrollPane1 = new JScrollPane();				  JList jList1 = new JList();				  JButton jButton2 = new JButton();				  JLabel jLabel1 = new JLabel();				  JLabel jLabel2 = new JLabel();								  /**Construct the frame*/				  public Frame1() {				    enableEvents(AWTEvent.WINDOW_EVENT_MASK);				    try {				      jbInit();				    }				    catch(Exception e) {				      e.printStackTrace();				    }				  }				  /**Component initialization*/				  private void jbInit() throws Exception  {				    //setIconImage(Toolkit.getDefaultToolkit().createImage(Frame1.class.getResource("[Your Icon]")));				    contentPane = (JPanel) this.getContentPane();				    jButton1.setText("			

相关资源