b0=newButton("Backspace");b0.addActionListener(this);b1=newButton("CE");b1.addActionListener(this);b2=newButton("C");b2.addActionListener(this);b3=newButton("MC");b3.addA...
b0 = new Button("Backspace");
b0.addActionListener(this);
b1 = new Button("CE");
b1.addActionListener(this);
b2 = new Button("C");
b2.addActionListener(this);
b3 = new Button("MC");
b3.addActionListener(this);
b4 = new Button("MR");
b4.addActionListener(this);
b5 = new Button("MS");
b5.addActionListener(this);
b6 = new Button("M+");
b6.addActionListener(this);
b7 = new Button("7");
b7.addActionListener(this);
b8 = new Button("8");
b8.addActionListener(this);
b9 = new Button("9");
b9.addActionListener(this);
b10 = new Button("/");
b10.addActionListener(this);
b11 = new Button("平方根");
b11.addActionListener(this);
b12 = new Button("4");
b12.addActionListener(this);
b13 = new Button("5");
b13.addActionListener(this);
b14 = new Button("6");
b14.addActionListener(this);
b15 = new Button("*");
b15.addActionListener(this);
b16 = new Button("平方");
b16.addActionListener(this);
b17 = new Button("1");
b17.addActionListener(this);
b18 = new Button("2");
b18.addActionListener(this);
b19 = new Button("3");
b19.addActionListener(this);
b20 = new Button("-");
b20.addActionListener(this);
b21 = new Button("立方");
b21.addActionListener(this);
b22 = new Button("0");
b22.addActionListener(this);
b23 = new Button("+/-");
b23.addActionListener(this);
b24 = new Button(".");
b24.addActionListener(this);
b25 = new Button("+");
b25.addActionListener(this);
b26 = new Button("=");
b26.addActionListener(this);
展开