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

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

?? frame1.java~15~

?? 學java課時
?? JAVA~15~
字號:
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(247, 399));    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, 45, 102));    contentPane.add(button13,       new XYConstraints(183, 257, 45, 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一区二区三区免费野_久草精品视频
日本女优在线视频一区二区| 欧美高清一级片在线| 亚洲电影激情视频网站| 亚洲欧美乱综合| 亚洲欧美日韩小说| 美日韩黄色大片| 精品一区二区三区免费毛片爱 | 婷婷久久综合九色国产成人 | 中文字幕av一区二区三区| 久久久久成人黄色影片| 欧美国产精品劲爆| 日韩激情在线观看| 激情图片小说一区| 成人黄色国产精品网站大全在线免费观看 | 一本一本大道香蕉久在线精品| 菠萝蜜视频在线观看一区| 欧美一级高清大全免费观看| 精品日韩99亚洲| 国产精品嫩草99a| 亚洲与欧洲av电影| 毛片不卡一区二区| 欧美中文字幕一区二区三区亚洲| 欧美伦理影视网| 亚洲一区精品在线| 一本色道久久综合狠狠躁的推荐 | 日韩欧美一区二区视频| 久久久亚洲国产美女国产盗摄| 午夜精品爽啪视频| 欧美在线观看视频在线| 日韩一区欧美一区| 日韩高清不卡在线| 欧美丝袜丝交足nylons| 精品国免费一区二区三区| 国产精品网站在线| 国产精品资源网站| 在线亚洲高清视频| 亚洲一区精品在线| 欧美另类久久久品| 日本不卡中文字幕| 日韩亚洲国产中文字幕欧美| 老司机精品视频在线| 成人免费看片app下载| 欧美一区二区在线看| 国产精品久久久久一区二区三区 | 国产69精品久久99不卡| 91精品国产高清一区二区三区蜜臀| 亚洲自拍都市欧美小说| 欧美日韩亚洲不卡| 一色桃子久久精品亚洲| 99精品欧美一区| 久久久久99精品国产片| 国产91对白在线观看九色| 最好看的中文字幕久久| 国产精品亚洲一区二区三区在线 | 日本不卡一区二区三区| 国产精品一二一区| 欧美激情综合在线| 国产一区二区美女| 欧美性欧美巨大黑白大战| 樱花草国产18久久久久| 成人性色生活片免费看爆迷你毛片| 中文字幕不卡的av| 在线视频综合导航| 麻豆极品一区二区三区| 国产精品免费看片| 欧美日韩亚洲国产综合| 国产成人综合在线观看| 国产日韩欧美电影| 国产精品123| 中文字幕在线播放不卡一区| 欧美精品少妇一区二区三区| 国产高清亚洲一区| 亚洲最大色网站| 欧美综合久久久| 捆绑变态av一区二区三区| 国产午夜精品一区二区三区嫩草 | 亚洲电影一级黄| 日韩精品一区二区三区三区免费| 国产成人无遮挡在线视频| 亚洲第一二三四区| 国产情人综合久久777777| 欧美日本乱大交xxxxx| 日日欢夜夜爽一区| 国产精品美女久久福利网站| 制服丝袜亚洲播放| 喷水一区二区三区| 亚洲乱码国产乱码精品精98午夜 | 国产成人精品综合在线观看| 亚洲bt欧美bt精品| 亚洲丝袜美腿综合| 久久免费看少妇高潮| 欧美一区二区视频在线观看 | 日韩免费视频线观看| 在线精品亚洲一区二区不卡| 成人三级在线视频| 国产一区二区三区蝌蚪| 免费在线观看一区二区三区| 亚洲欧美日韩久久| 国产精品久久久久影院老司| 国产午夜精品理论片a级大结局 | 欧美三级视频在线观看| 99久久夜色精品国产网站| 国产精品1024久久| 国产麻豆欧美日韩一区| 激情综合色丁香一区二区| 日韩精品视频网| 视频在线在亚洲| 亚洲午夜激情网页| 欧美一区二区三区四区在线观看 | 精品国产一区二区三区久久影院 | 青青草原综合久久大伊人精品 | 亚洲免费观看视频| 国产精品久久网站| 国产农村妇女精品| 国产欧美一区二区三区沐欲| 国产日韩一级二级三级| 久久久不卡网国产精品一区| 精品国产乱码久久久久久浪潮| 日韩视频免费观看高清完整版在线观看| 欧美视频一区二区三区在线观看 | 亚洲一区在线视频观看| 一个色综合网站| 午夜精品在线视频一区| 蜜臀久久99精品久久久画质超高清| 日本不卡一区二区三区| 黄页视频在线91| 成人一区二区三区视频在线观看| 丁香亚洲综合激情啪啪综合| 99精品国产热久久91蜜凸| 日本久久一区二区三区| 国产成人啪午夜精品网站男同| 国产91在线看| 色丁香久综合在线久综合在线观看| 日本高清不卡aⅴ免费网站| 欧美色网一区二区| 欧美成人国产一区二区| 久久久久国产一区二区三区四区| 国产精品美女久久久久av爽李琼 | 欧美日韩免费观看一区二区三区 | 欧美吻胸吃奶大尺度电影| 精品视频在线看| 欧美v日韩v国产v| 国产精品美女www爽爽爽| 一区二区三区在线影院| 日韩在线播放一区二区| 国产精品一区2区| 日本乱人伦aⅴ精品| 日韩一二三区不卡| 国产精品美女久久久久aⅴ国产馆| 午夜精品免费在线| 国产成人精品网址| 欧美日韩国产一二三| 国产午夜精品久久久久久久| 夜夜嗨av一区二区三区中文字幕 | 青青青爽久久午夜综合久久午夜| 国产成人精品亚洲日本在线桃色| 欧美视频在线观看一区二区| 久久久久久久av麻豆果冻| 亚洲成a人片在线观看中文| 国产一区二区美女| 欧美日韩精品一区二区三区蜜桃 | 久久久亚洲午夜电影| 亚洲精品视频免费观看| 极品少妇一区二区三区精品视频| 99精品国产热久久91蜜凸| 日韩色在线观看| 亚洲卡通动漫在线| 国产精品白丝jk黑袜喷水| 精品视频一区二区不卡| 中文字幕一区二区三区四区不卡| 天天色天天操综合| 91免费观看视频| 99久久精品一区| 欧美mv日韩mv| 午夜精品久久久久久久久久久| 粉嫩绯色av一区二区在线观看| 8v天堂国产在线一区二区| 亚洲欧美激情在线| 国产.欧美.日韩| 欧美精品一区二区三区很污很色的 | 在线观看日韩精品| 国产精品拍天天在线| 精品一区二区在线看| 欧美日韩一二三| 一区二区不卡在线播放 | 亚洲影视在线播放| 99久久精品免费观看| 久久久久久免费网| 久久国产尿小便嘘嘘| 欧美一区二区三区电影| 天天做天天摸天天爽国产一区 | 国产日产欧产精品推荐色| 久久不见久久见免费视频7| 欧美狂野另类xxxxoooo| 亚洲高清免费在线| 欧美久久久一区| 日韩精品三区四区| 欧美精品一卡二卡| 青青草97国产精品免费观看 | 久久九九99视频|