(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 160
下载积分: 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 个回复

  • network chat, simple and practical, we quickly download and watch it
    网络聊天,简单实用,大家快下载看看吧-network chat, simple and practical, we quickly download and watch it
    2022-04-27 00:33:13下载
    积分:1
  • XJ
    说明:  C++课程设计说明(福彩游戏) C++课程设计说明(福彩游戏)(C++ Curriculum design note (福彩game) C++ Curriculum design note (福彩games))
    2008-11-13 14:22:19下载
    积分:1
  • MIMO
    说明:  MIMO的DOA估计算法,包括单基站和双基站的,基础算法:如MUSIC;Capon,2-DMUSIC(DOA eatimation mothods)
    2021-03-24 16:28:57下载
    积分:1
  • Use UDP protocal to transport files between different IP with limited data packa...
    用UDP协议限制单个数据包大小实现互联网内文件传输。-Use UDP protocal to transport files between different IP with limited data package.
    2022-10-25 11:50:02下载
    积分:1
  • GenericURI
    Implementation of the URI class. This relies on the 1.4 URI class.
    2013-12-06 14:48:38下载
    积分:1
  • TRACKER_RECT
    CTrackerRect使用用例,用户直接编译就能运行,运行环境VC 8.0(CTrackerRect the use of use case, users will be able to direct the compiler to run, VC 8.0 runtime environment)
    2008-01-22 13:17:20下载
    积分:1
  • webmining
    本程序用JAVA编制,通过读取有关天气的XML文件的数据对象,然后绘制出相关的curv曲线图。(this procedure using JAVA, read on the weather data XML document object, and then mapping out the curv curves.)
    2005-07-09 00:27:36下载
    积分:1
  • vb wrote messenger including server
    vb写的messenger包括服务器端和客户端,1.0可以根据这个自己在局域网里假设聊天服务器了.法文写的-vb wrote messenger including server-side and client-side, 1.0 can be the basis of this assumption in their own local area network chat server. French wrote
    2022-03-04 12:19:40下载
    积分:1
  • 416w
    一个简单的源码,我是来学习慢慢来吧,谢谢大家(A simple source,)
    2014-02-07 18:08:11下载
    积分:1
  • vc prepared by using multiple threads to achieve client
    vc++编写的用多线程实现客户-服务器结构的一个例子,有学习价值-vc prepared by using multiple threads to achieve client-server structure of an example, learn the value
    2023-05-05 20:35:03下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载