求一个java程序,用java语言编程实现计算器的基本功能答://计算器import java.awt.*;import java.awt.event.*;import javax.swing.*;public class testZ extends JFrame implements ActionListener{ private JPanel jPanel1,jPanel2;private JTextField resultField;private JButton s1,s2,s3,s4,s5,s6,s7,s8,s9,s0,b1,b2,b3,b4,f1,f2;private boolean...
求助:用java代码编一个计算器程序!令我满意者重谢!答:import java.awt.*;import java.awt.event.*;import java.lang.*;import javax.swing.*;public class Counter extends Frame { GridLayout gl1,gl2,gl3,gl4;Panel p0,p1,p2,p3,p4;JTextField tf1;JButton b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13,b14,b15,b16,b17,b18,b19,...