(javaimplementationcalculator,importjava.awt.*importjava.awt.event.*importjavax.swing.*publicclassJiSuanQi{FramefLabellabButton[]bt=newButton[29]JTextFieldtStringBufferstr//displaycharacterstringdisplayeddoublex,y//xandyaretheoperandsintz//Zrepresentsanoperatorclicksthat0means"+",1indicates"-",2is"*",3is"/"staticdoublem//numberinmemoryJiSuanQi(){) - IMDN开发者社群-imdn.cn">
登录
首页 » Java » JiSuanQi

JiSuanQi

于 2013-05-24 发布 文件大小:2KB
0 76
下载积分: 1 下载次数: 3

代码说明:

  java实现计算器,import java.awt.* import java.awt.event.* import javax.swing.* public class JiSuanQi { Frame f Label lab Button[] bt=new Button[29] JTextField t StringBuffer str //显示屏所显示的字符串 double x,y //x和y都是运算数 int z //Z表示单击了那一个运算符.0表示"+",1表示"-",2表示"*",3表示"/" static double m //记忆的数字 JiSuanQi() {(java implementation calculator, import java.awt.* import java.awt.event.* import javax.swing.* public class JiSuanQi {Frame f Label lab Button [] bt = new Button [29] JTextField t StringBuffer str //display character string displayed double x, y //x and y are the operands int z //Z represents an operator clicks that 0 means " +" , 1 indicates " -" , 2 is " *" , 3 is " /" static double m //number in memory JiSuanQi () {)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • interval
    本程序实现了多区间的交集、并集和补集操作,很好使用。(This program implements multiple interval of the intersection, union and complement operations, very good use)
    2015-05-17 14:20:46下载
    积分:1
  • luckyrocks
    GUI界面用于读取excel数据并显示,显示统计图:饼状图,柱状图和折线图 (GUI interface for reading excel data and display, display charts: pie charts, bar charts and line charts)
    2020-07-27 09:48:40下载
    积分:1
  • 一个非常的VC++图形界面的网络通信
    一个非常的VC++图形界面的网络通信-A very VC++ Graphical interface of the network communication
    2022-05-24 07:11:59下载
    积分:1
  • first
    first code in c++ i like it
    2012-04-15 17:47:22下载
    积分:1
  • Synchronous machine model
    Synchronous machine model- Synchronous machine model
    2022-07-19 09:55:36下载
    积分:1
  • anuprinciple
    介绍了10种滤波器的原理及其软件实现过程,(The principle and software realization of 10 kinds of filters are introduced.)
    2019-03-27 14:07:27下载
    积分:1
  • 2019..4.7小车
    说明:  基于51单片机最小系统开发板的寻迹小车寻迹代码。(Tracking car tracking code.)
    2020-06-22 02:20:01下载
    积分:1
  • PPTP协议的源代码
    pptp协议源代码-pptp agreement source code
    2022-05-22 16:40:09下载
    积分:1
  • socket示例,分为server,client两个序,实现序的自动升级。...
    socket编程示例,分为server,client两个程序,实现程序的自动升级。-socket programming paradigm into server, client two procedures to achieve the automatic escalation procedures.
    2022-05-14 16:51:30下载
    积分:1
  • Struts_Spring_MyBatis
    jquery+jqgrid+struts2+spring+mybatis,附带mysql建表,附带注释,实现数据查询,修改,删除,新增操作为了下载者可以自行查阅api文档,只保留了新增的思路(jquery+jqgrid+struts2+spring+mybatis, built with mysql table, with notes, data query, modify, delete, add operator can access in order to download api documentation itself, leaving only a new way of thinking)
    2014-01-25 17:51:05下载
    积分:1
  • 696524资源总数
  • 103957会员总数
  • 51今日下载