calculator
代码说明:
功能:实现一个计算器应用程序 实验要求:编写一个模拟计算器的应用程序,使用面板和网格布局, 添加一个文本框,10个数字按钮(0~9),4个加减乘除按钮, 一个等号按钮,一个清除按钮,一个求平方根按钮,一个退格按钮, 要求将计算公式和结果显示在文本框中,实现效果如下图所示,(Functions: a calculator application requirement of experiment: write a simulation calculator applications, the use of panels and grid layout, add a text box, 10 numeric buttons (0 to 9), 4, Math button, a equal sign button, a Clear button, a square root button, and a backspace button, the formula and the results are displayed in the text box, as shown in the results as shown)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!