Java计算器源代码
的有关信息介绍如下:import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.*;public class CaculatorA {private JFrame jf;private JButton[] jbs;private JTextField jtf;private JButton clear;private double num1,num2,jieguo;private char c;/*** 构造方颤答法实例化属性**/public CaculatorA(){jf=new JFrame("我的明缺计算器v1.0");jtf=new JTextField(20);clear=new JButton("clear");jbs=new JButton[16];String str="123+456-789*0./=";for(int i=0; i<茄槐慧str.length(); i++){jbs[i]=new JButton(str.charAt(i)+"");}init();addEventHandler();// setFont();// setColor();showMe();}/**