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

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

?? frame1.java~14~

?? 學java課時
?? JAVA~14~
字號:
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(252, 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一区二区三区免费野_久草精品视频
色8久久人人97超碰香蕉987| 日韩午夜av电影| 欧美精品丝袜久久久中文字幕| 亚洲精品一区二区三区精华液 | 秋霞电影一区二区| 成人午夜精品在线| 日韩视频免费直播| 亚洲成人免费av| 99精品欧美一区二区三区综合在线| 日韩精品在线一区二区| 亚洲午夜久久久久久久久久久 | 欧美成人精品二区三区99精品| 亚洲欧美日韩中文播放| 波多野洁衣一区| 久久久久国产成人精品亚洲午夜| 日韩1区2区3区| 欧美日韩亚洲综合在线| 亚洲精品乱码久久久久久| 99精品久久久久久| 国产精品麻豆视频| 国产成人av一区二区三区在线 | 久久先锋影音av鲁色资源网| 日韩精品一卡二卡三卡四卡无卡| 欧美写真视频网站| 亚洲第一精品在线| 欧美图区在线视频| 视频一区中文字幕| 日韩一区二区三区在线| 毛片av一区二区| 日韩欧美一二区| 精品一区二区久久| 久久精品亚洲国产奇米99| 国产寡妇亲子伦一区二区| 国产日产欧美精品一区二区三区| 国产99久久精品| 亚洲欧美一区二区久久| 欧美亚洲国产怡红院影院| 午夜成人免费视频| 日韩午夜在线观看| 国产美女主播视频一区| 亚洲国产精华液网站w| 99久久久精品| 亚洲国产毛片aaaaa无费看 | 色悠悠亚洲一区二区| 亚洲一本大道在线| 日韩欧美一级二级| 成人午夜又粗又硬又大| 一区二区三区精品久久久| 欧美一区二区黄色| 国产精品一级在线| 亚洲精品国产品国语在线app| 在线观看一区二区视频| 美女网站在线免费欧美精品| 日本一区二区动态图| 色一情一伦一子一伦一区| 日本不卡视频在线| 国产日韩影视精品| 欧美亚洲另类激情小说| 国产一二三精品| 亚洲一线二线三线视频| 欧美大片顶级少妇| 色综合久久中文综合久久牛| 日韩精品亚洲一区二区三区免费| 久久久99精品久久| 欧美色图激情小说| 成人午夜视频福利| 日本成人在线不卡视频| 中文字幕一区二区三中文字幕| 51午夜精品国产| 91视频一区二区| 国产精品综合在线视频| 天天操天天色综合| 中文字幕日韩欧美一区二区三区| 欧美一区二区精品在线| 色素色在线综合| 国产传媒日韩欧美成人| 日日摸夜夜添夜夜添精品视频 | 国产亚洲美州欧州综合国| 精品视频999| aaa国产一区| 国产一区美女在线| 午夜视黄欧洲亚洲| 亚洲人亚洲人成电影网站色| 精品少妇一区二区三区在线视频| 色偷偷一区二区三区| 福利视频网站一区二区三区| 青草av.久久免费一区| 一区二区三区精品在线观看| 国产精品三级av| 久久伊99综合婷婷久久伊| 欧美一卡在线观看| 欧美日韩午夜影院| 在线观看成人小视频| 99精品久久只有精品| 成人免费高清在线| 国产不卡高清在线观看视频| 狠狠色丁香久久婷婷综合_中| 日韩高清在线一区| 日日噜噜夜夜狠狠视频欧美人| 亚洲免费av网站| 亚洲美女在线国产| 亚洲精品中文字幕乱码三区| 国产精品欧美一区喷水| 国产三级欧美三级| 国产免费观看久久| 久久久精品免费免费| 精品国产91洋老外米糕| 精品播放一区二区| 亚洲精品一线二线三线| 久久综合久久鬼色| 精品国产伦理网| 久久综合视频网| 中文字幕乱码亚洲精品一区| 久久精品人人做人人爽人人| 国产日韩精品一区二区三区| 国产欧美综合色| 综合久久久久久久| 一区二区三区精品视频| 亚洲18色成人| 日本vs亚洲vs韩国一区三区二区| 另类小说色综合网站| 国产一区二区久久| 成人av综合在线| 91啪在线观看| 欧美精品18+| 精品国产123| 欧美国产欧美亚州国产日韩mv天天看完整| 久久久久久一级片| 亚洲欧洲制服丝袜| 性欧美大战久久久久久久久| 日本强好片久久久久久aaa| 久久se这里有精品| 国产 日韩 欧美大片| 色婷婷久久综合| 日韩欧美久久久| 国产精品丝袜一区| 亚洲电影在线播放| 狠狠狠色丁香婷婷综合激情 | 成a人片亚洲日本久久| 91久久香蕉国产日韩欧美9色| 9191精品国产综合久久久久久| 欧美本精品男人aⅴ天堂| 国产精品网站在线观看| 亚洲国产综合人成综合网站| 国产在线不卡一卡二卡三卡四卡| 99久久婷婷国产综合精品| 91麻豆精品国产自产在线| 欧美成va人片在线观看| 亚洲欧美另类久久久精品2019| 亚洲成av人片www| 成人国产精品免费| 91精品国产综合久久久久久 | 久久女同性恋中文字幕| 亚洲免费观看高清完整版在线观看 | 欧美一级欧美三级在线观看| 欧美经典三级视频一区二区三区| 一区二区在线观看免费| 国产精品一区二区你懂的| 欧美视频一区二区三区在线观看| 2023国产精华国产精品| 天天影视网天天综合色在线播放| 成人夜色视频网站在线观看| 日韩视频在线永久播放| 亚洲黄色av一区| 成人黄色国产精品网站大全在线免费观看| 欧美日韩久久久久久| 日韩毛片视频在线看| 国产一区久久久| 日韩欧美综合一区| 香蕉影视欧美成人| 99久久777色| 国产精品欧美一区二区三区| 激情伊人五月天久久综合| 欧美日韩激情一区二区| 亚洲精品国产一区二区三区四区在线| 国产精品18久久久久| 日韩视频一区二区在线观看| 午夜私人影院久久久久| 日本精品一区二区三区高清 | 欧美精品一区二区久久婷婷| 香蕉av福利精品导航| 91成人免费在线| 亚洲蜜臀av乱码久久精品| av激情综合网| 中文字幕欧美日韩一区| 国产乱子伦视频一区二区三区| 91精品国产福利| 亚洲无线码一区二区三区| 色网综合在线观看| 一区二区三区在线免费视频| 99久久777色| 樱桃国产成人精品视频| 色激情天天射综合网| 洋洋成人永久网站入口| 一道本成人在线| 亚洲最大的成人av| 欧美日韩情趣电影| 奇米888四色在线精品| 日韩女优毛片在线| 黑人巨大精品欧美黑白配亚洲|