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

  • PYTHON
    Stock:自定义的随机股票交易回测系统 URLBookmarkManage:收藏夹书签自动生成网页版本 autoinstall:自动安装未安装的模块 LazyImport:延迟加载(类实现) LazyImport2:延迟加载(重写import)(Stock: a custom random stock trading back test system URLBookmarkManage: a collection of bookmarks automatically generates a web version Autoinstall: automatic installation of an un installed module LazyImport: delay loading (Class Implementation) LazyImport2: delayed loading (Rewriting import))
    2018-03-27 13:23:18下载
    积分:1
  • vc的tcp和udp服务器,客户端,很好用
    vc编的tcp和udp服务器,客户端,很好用-vc series tcp and udp server, client, a very good use
    2022-03-10 02:38:51下载
    积分:1
  • PlotCharts
    一个简单的遗传算法计算最大最小程序 有用户界面 一元函数有函数图 (a simple GA program by c# with 3 different dimensional function and also the 1-dimensional function has the graph )
    2013-12-06 02:26:20下载
    积分:1
  • 取得计算机网卡物理地址的步骤:1)列举所有的网卡2)分别重置每块卡以取得它的正确信息3)查询网卡,取得MAC地址...
    取得计算机网卡物理地址的步骤:1)列举所有的网卡2)分别重置每块卡以取得它的正确信息3)查询网卡,取得MAC地址-made computer card physical address steps : 1) lists all the card 2), respectively replacement every piece of card to obtain the correct information 3) card inquiries made MAC address
    2022-01-25 23:46:29下载
    积分:1
  • Neural-networks-with-quantum-arch
    A method is proposed for solving the two key problems facing quantum neural networks: introduction of nonlinearity in the neuron operation and efficient use of quantum superposition in the learning algorithm. The former is indirectly solved by using suitable Boolean functions. The latter is based on the use of a suitable nonlinear quantum circuit.
    2014-02-28 14:50:37下载
    积分:1
  • MultiThreading
    说明:  FGMultiThreading,halcon多线程实现图像抓取,图像处理 运行环境:vs2013,c++,MFC, 主要针对图像读取,二维码识别,多线程处理(FGMultiThreading, Halcon multi-threaded image capture, image processing Operating environment: vs2013, c++, MFC, Mainly for image reading, two-dimensional code recognition, multi-threading processing)
    2020-06-19 21:40:02下载
    积分:1
  • Sun-JavaDemo
    Sun 公司最好的Java Demo例子码,对于初学者非常有用(java good demo)
    2013-10-16 16:51:28下载
    积分:1
  • ListTouchBottomGravityManyTest
    Touch tests for a list where all of the items do not fit on the screen, and the list stacks from the bottom.
    2014-02-27 13:40:15下载
    积分:1
  • 1
    说明:  测试固体导热系数,通过固体的部分信息,得到固体的导热系数(Testing of solid thermal conductivity)
    2010-04-11 14:16:24下载
    积分:1
  • raytrace
    地震波动方程 射线追踪 波前追踪 附有文档 复杂介质常梯度射线追踪方法(Seismic wave equation wave-front tracking ray tracing of complex media files with regular gradient ray-tracing method)
    2009-05-13 09:07:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载