亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? frame1.java~13~

?? 學java課時
?? JAVA~13~
字號:
package calculator1;import java.awt.*;import java.awt.event.*;import javax.swing.*;import com.borland.jbcl.layout.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2008</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class Frame1 extends JFrame {  JPanel contentPane;  Button button1 = new Button();  XYLayout xYLayout1 = new XYLayout();  Button button2 = new Button();  Button button3 = new Button();  Button button4 = new Button();  Button button5 = new Button();  Button button6 = new Button();  Button button7 = new Button();  Button button8 = new Button();  Button button9 = new Button();  TextField textField1 = new TextField();  //Construct the frame  public Frame1() {    enableEvents(AWTEvent.WINDOW_EVENT_MASK);    try {      jbInit();    }    catch(Exception e) {      e.printStackTrace();    }  }  //Component initialization  private void jbInit() throws Exception  {    contentPane = (JPanel) this.getContentPane();    button1.setFont(new java.awt.Font("Dialog", 1, 15));    button1.setLabel("1");    button1.addActionListener(new Frame1_button1_actionAdapter(this));    contentPane.setLayout(xYLayout1);    this.setSize(new Dimension(259, 414));    this.setTitle("Frame Title");    button2.setFont(new java.awt.Font("Dialog", 1, 15));    button2.setLabel("2");    button2.addActionListener(new Frame1_button2_actionAdapter(this));    button3.setFont(new java.awt.Font("Dialog", 1, 15));    button3.setLabel("3");    button3.addActionListener(new Frame1_button3_actionAdapter(this));    button4.setFont(new java.awt.Font("Dialog", 1, 15));    button4.setLabel("4");    button4.addActionListener(new Frame1_button4_actionAdapter(this));    button5.setFont(new java.awt.Font("Dialog", 1, 15));    button5.setLabel("5");    button5.addActionListener(new Frame1_button5_actionAdapter(this));    button6.setFont(new java.awt.Font("Dialog", 1, 15));    button6.setLabel("6");    button6.addActionListener(new Frame1_button6_actionAdapter(this));    button7.setFont(new java.awt.Font("Dialog", 1, 15));    button7.setLabel("7");    button7.addActionListener(new Frame1_button7_actionAdapter(this));    button8.setFont(new java.awt.Font("Dialog", 1, 15));    button8.setLabel("8");    button8.addActionListener(new Frame1_button8_actionAdapter(this));    button9.setFont(new java.awt.Font("Dialog", 1, 15));    button9.setLabel("9");    button9.addActionListener(new Frame1_button9_actionAdapter(this));    textField1.setFont(new java.awt.Font("Dialog", 1, 20));    textField1.setText("");    button10.setFont(new java.awt.Font("Dialog", 1, 15));    button10.setLabel("0");    button10.addActionListener(new Frame1_button10_actionAdapter(this));    button11.setFont(new java.awt.Font("Dialog", 1, 15));    button11.setLabel(".");    button11.addActionListener(new Frame1_button11_actionAdapter(this));    button12.setBackground(Color.green);    button12.setFont(new java.awt.Font("Dialog", 1, 15));    button12.setLabel("+");    button12.addActionListener(new Frame1_button12_actionAdapter(this));    button13.setBackground(Color.green);    button13.setFont(new java.awt.Font("Dialog", 1, 15));    button13.setForeground(Color.black);    button13.setLabel("=");    button13.addActionListener(new Frame1_button13_actionAdapter(this));    button14.setBackground(Color.green);    button14.setFont(new java.awt.Font("Dialog", 1, 15));    button14.setLabel("-");    button14.addActionListener(new Frame1_button14_actionAdapter(this));    button15.setBackground(Color.green);    button15.setFont(new java.awt.Font("Dialog", 1, 15));    button15.setLabel("*");    button15.addActionListener(new Frame1_button15_actionAdapter(this));    button16.setBackground(Color.green);    button16.setFont(new java.awt.Font("Dialog", 1, 15));    button16.setLabel("/");    button16.addActionListener(new Frame1_button16_actionAdapter(this));    button17.setBackground(Color.pink);    button17.setFont(new java.awt.Font("Dialog", 1, 13));    button17.setLabel("C");    button17.addActionListener(new Frame1_button17_actionAdapter(this));    contentPane.setBackground(SystemColor.textInactiveText);    contentPane.add(button1,  new XYConstraints(9, 257, 45, 45));    contentPane.add(button2,      new XYConstraints(66, 257, 45, 45));    contentPane.add(button3,      new XYConstraints(125, 257, 45, 45));    contentPane.add(button4,    new XYConstraints(9, 201, 45, 45));    contentPane.add(button5,      new XYConstraints(66, 201, 45, 45));    contentPane.add(button6,     new XYConstraints(125, 201, 45, 45));    contentPane.add(button9,      new XYConstraints(125, 144, 45, 45));    contentPane.add(button8,    new XYConstraints(66, 144, 45, 45));    contentPane.add(button7,  new XYConstraints(9, 144, 45, 45));    contentPane.add(button11,       new XYConstraints(125, 314, 45, 45));    contentPane.add(button12,     new XYConstraints(183, 143, -1, 102));    contentPane.add(button13,      new XYConstraints(183, 257, -1, 101));    contentPane.add(textField1, new XYConstraints(9, 29, 214, 37));    contentPane.add(button17,   new XYConstraints(9, 84, 45, 45));    contentPane.add(button14, new XYConstraints(183, 84, 45, 45));    contentPane.add(button15, new XYConstraints(125, 84, 45, 45));    contentPane.add(button16, new XYConstraints(66, 84, 45, 45));    contentPane.add(button10, new XYConstraints(9, 314, 98, 45));  }  //Overridden so we can exit when window is closed  protected void processWindowEvent(WindowEvent e) {    super.processWindowEvent(e);    if (e.getID() == WindowEvent.WINDOW_CLOSING) {      System.exit(0);    }  }  //////////////////////////////////////////////////////////  double m=0,n=0,z=0;  int fuhao=0;  String w="";  String test;  Button button10 = new Button();  Button button11 = new Button();  Button button12 = new Button();  Button button13 = new Button();  Button button14 = new Button();  Button button15 = new Button();  Button button16 = new Button();  Button button17 = new Button();  void button1_actionPerformed(ActionEvent e) {    test="1";    www();    this.textField1.setText(w);  }  void www()  {    w=w.concat(test);    return;  }  void button2_actionPerformed(ActionEvent e) {    test="2";    www();    this.textField1.setText(w);  }  void button3_actionPerformed(ActionEvent e) {    test="3";    www();    this.textField1.setText(w);  }  void button4_actionPerformed(ActionEvent e) {    test="4";    www();    this.textField1.setText(w);  }  void button5_actionPerformed(ActionEvent e) {    test="5";    www();    this.textField1.setText(w);  }  void button6_actionPerformed(ActionEvent e) {    test="6";    www();    this.textField1.setText(w);  }  void button7_actionPerformed(ActionEvent e) {    test="7";    www();    this.textField1.setText(w);  }  void button8_actionPerformed(ActionEvent e) {    test="8";    www();    this.textField1.setText(w);  }  void button9_actionPerformed(ActionEvent e) {    test="9";    www();    this.textField1.setText(w);  }  void button10_actionPerformed(ActionEvent e) {    test="0";    www();    this.textField1.setText(w);  }  void button11_actionPerformed(ActionEvent e) {    test=".";    www();    this.textField1.setText(w);  }  void button13_actionPerformed(ActionEvent e) {    if(w!=""){      n=Double.parseDouble(w);      switch (fuhao) {        case 1:          z = m + n;          break;        case 2:          z = m - n;          break;        case 3:          z = m * n;          break;        case 4:          z = m / n;          break;        case 0:          this.textField1.setText("ERROR");          break;      }      m = z;      w = Double.toString(z);      this.textField1.setText(w);      w = "";    }    else this.textField1.setText("ERROR");  }  void button12_actionPerformed(ActionEvent e) {    if(m==0)    {      if (w == "") w="0";        m = Double.parseDouble(w);    }    fuhao=1;    this.textField1.setText("");    w="";  }  void button14_actionPerformed(ActionEvent e) {    if(m==0)    {      if (w == "") w="0";        m = Double.parseDouble(w);    }    fuhao=2;    this.textField1.setText("");    w="";  }  void button15_actionPerformed(ActionEvent e) {    if(m==0)    {      if (w == "") w="0";        m = Double.parseDouble(w);    }    fuhao=3;    this.textField1.setText("");    w="";  }  void button16_actionPerformed(ActionEvent e) {    if(m==0)    {      if (w == "") w="0";        m = Double.parseDouble(w);    }    fuhao=4;    this.textField1.setText("");    w="";  }  void button17_actionPerformed(ActionEvent e) {    m=0;n=0;z=0;    fuhao=0;    w="";    test="";    this.textField1.setText("");  }}class Frame1_button1_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button1_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button1_actionPerformed(e);  }}class Frame1_button2_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button2_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button2_actionPerformed(e);  }}class Frame1_button3_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button3_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button3_actionPerformed(e);  }}class Frame1_button4_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button4_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button4_actionPerformed(e);  }}class Frame1_button5_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button5_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button5_actionPerformed(e);  }}class Frame1_button6_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button6_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button6_actionPerformed(e);  }}class Frame1_button7_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button7_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button7_actionPerformed(e);  }}class Frame1_button8_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button8_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button8_actionPerformed(e);  }}class Frame1_button9_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button9_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button9_actionPerformed(e);  }}class Frame1_button10_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button10_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button10_actionPerformed(e);  }}class Frame1_button11_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button11_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button11_actionPerformed(e);  }}class Frame1_button13_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button13_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button13_actionPerformed(e);  }}class Frame1_button12_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button12_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button12_actionPerformed(e);  }}class Frame1_button14_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button14_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button14_actionPerformed(e);  }}class Frame1_button15_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button15_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button15_actionPerformed(e);  }}class Frame1_button16_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button16_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button16_actionPerformed(e);  }}class Frame1_button17_actionAdapter implements java.awt.event.ActionListener {  Frame1 adaptee;  Frame1_button17_actionAdapter(Frame1 adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.button17_actionPerformed(e);  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品 国产精品| 亚洲三级理论片| 成人黄动漫网站免费app| 亚洲国产中文字幕| 91精品视频网| 日本欧洲一区二区| 亚洲欧洲三级电影| 欧美一区二区黄| 91色综合久久久久婷婷| 午夜一区二区三区视频| 国产精品看片你懂得| 日韩亚洲国产中文字幕欧美| 粉嫩av一区二区三区| 强制捆绑调教一区二区| 亚洲第一成人在线| 国产精品成人午夜| www久久精品| 欧美电影免费观看高清完整版在| jiyouzz国产精品久久| 国产成人精品一区二区三区四区 | 亚洲区小说区图片区qvod| 精品久久久久一区二区国产| 欧美日韩视频专区在线播放| 色综合欧美在线视频区| www.亚洲激情.com| 国产91富婆露脸刺激对白| 国产在线视视频有精品| 老司机一区二区| 韩国一区二区三区| 国产98色在线|日韩| 丁香婷婷综合激情五月色| 国产精品香蕉一区二区三区| 成人激情午夜影院| 欧美视频在线一区二区三区| 99r国产精品| 69成人精品免费视频| 欧美白人最猛性xxxxx69交| 精品国产免费久久| 国产精品国产三级国产普通话99| 国产女人aaa级久久久级 | 亚洲国产精品一区二区尤物区| 夜夜精品视频一区二区| 日本午夜精品一区二区三区电影| 久久精品国产77777蜜臀| 激情深爱一区二区| 色香色香欲天天天影视综合网| 欧美三级中文字幕在线观看| 91精品国产一区二区三区| 国产欧美一区二区精品忘忧草| 亚洲男人都懂的| 精品亚洲国产成人av制服丝袜 | 成人欧美一区二区三区小说| 日韩精品亚洲一区二区三区免费| 国产尤物一区二区在线| 欧美区一区二区三区| 中文文精品字幕一区二区| 日韩精品一二三区| 欧美日本精品一区二区三区| 国产精品蜜臀在线观看| 国产乱码精品1区2区3区| 欧美一区二区三区喷汁尤物| 曰韩精品一区二区| 欧美主播一区二区三区| 夜夜揉揉日日人人青青一国产精品| 国产精品888| 国产欧美一区二区精品婷婷| 国产成人免费视频| 国产精品久久久久一区二区三区共| 久久国产欧美日韩精品| 日韩精品一区二区三区视频| 热久久久久久久| 精品国产污污免费网站入口| 精品一区二区免费在线观看| 精品国产乱码久久久久久久久 | 国产日韩欧美综合一区| 国产乱码精品一区二区三区av | 精品处破学生在线二十三| 美女视频黄a大片欧美| 日韩一区二区免费在线电影| 另类人妖一区二区av| 久久久激情视频| 不卡的看片网站| 丝袜诱惑制服诱惑色一区在线观看| 欧美亚男人的天堂| 美女网站色91| 亚洲视频一区在线| 欧美成人video| 99精品欧美一区二区蜜桃免费| 亚洲丝袜美腿综合| 欧美成人r级一区二区三区| 成人app网站| 日韩电影在线看| 自拍偷拍欧美激情| 精品蜜桃在线看| 欧美午夜片在线看| 国产精品性做久久久久久| 亚洲va天堂va国产va久| 国产亚洲精品免费| 欧美精品v国产精品v日韩精品 | 人妖欧美一区二区| 亚洲va中文字幕| 亚洲资源在线观看| 中文字幕在线不卡一区二区三区| 91精品黄色片免费大全| 在线观看日韩高清av| 成人久久视频在线观看| 国模一区二区三区白浆| 偷拍亚洲欧洲综合| 丝袜亚洲另类欧美| 五月天精品一区二区三区| 亚洲综合丝袜美腿| 视频一区视频二区在线观看| 亚洲成人免费影院| 午夜影院久久久| 蜜桃一区二区三区在线| 久久国产精品露脸对白| 激情综合色综合久久综合| 久久成人久久爱| 国产精品538一区二区在线| 国产在线精品一区二区| 99久久久免费精品国产一区二区 | 日韩va欧美va亚洲va久久| 亚洲午夜成aⅴ人片| 亚洲区小说区图片区qvod| 韩国中文字幕2020精品| 欧美一区二区黄色| 免费成人av资源网| 91精品国产91久久久久久最新毛片| 亚洲欧洲99久久| 91福利视频久久久久| 亚洲综合视频在线| 欧美一区二区私人影院日本| 日韩黄色免费网站| 欧美成人国产一区二区| 国产九九视频一区二区三区| 中文字幕在线观看一区二区| 成人一级视频在线观看| 亚洲卡通欧美制服中文| 欧美日精品一区视频| 韩国三级电影一区二区| 综合精品久久久| 日韩一区二区影院| 成人动漫视频在线| 婷婷久久综合九色综合绿巨人| 日韩欧美一区二区三区在线| 国产麻豆视频一区二区| 一二三区精品福利视频| 日韩精品一区国产麻豆| 成人三级伦理片| 日韩电影免费在线观看网站| 久久免费的精品国产v∧| 在线观看亚洲成人| eeuss国产一区二区三区| 久久成人久久鬼色| 亚洲午夜私人影院| 亚洲欧洲精品天堂一级 | 中文av一区二区| 精品美女被调教视频大全网站| 91麻豆国产精品久久| 国产精品一区二区免费不卡 | 欧美性受极品xxxx喷水| 狠狠色综合日日| 久久aⅴ国产欧美74aaa| 国产**成人网毛片九色| 国产一区二区三区最好精华液| 免费日本视频一区| 免费观看30秒视频久久| 偷窥少妇高潮呻吟av久久免费| 一区二区三区在线高清| 亚洲另类在线一区| 亚洲嫩草精品久久| 一区二区三区日韩在线观看| 亚洲免费在线观看视频| 一级中文字幕一区二区| 亚洲国产一区二区在线播放| 午夜精品久久久久久久99水蜜桃| 一区二区三区在线看| 天天操天天干天天综合网| 蜜臀91精品一区二区三区 | 久久精品人人做| 亚洲国产成人私人影院tom| 中文字幕在线观看一区二区| 亚洲男同1069视频| 日韩电影在线看| 成人午夜私人影院| 欧美三级中文字幕| 久久九九久久九九| 无码av免费一区二区三区试看 | 一区二区三区四区激情| 五月婷婷久久综合| 高清免费成人av| 欧美日韩精品系列| 国产精品毛片a∨一区二区三区 | www.日韩精品| 精品久久久久久亚洲综合网 | 91久久人澡人人添人人爽欧美| 这里只有精品视频在线观看| 国产色产综合色产在线视频| 亚洲一区二区三区视频在线播放 | 精品欧美久久久|