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

  • FAT32的部分操作C语言实现代码
    FAT32的部分操作C语言实现代码.rar是fat32的c语言实现(FAT32 part of Operation C language code. Rar is fat32 in C Language)
    2021-04-14 13:48:55下载
    积分:1
  • src
    drawplot_demo 代码,可能有点乱(drawplot_demo code, may be a bit messy)
    2014-03-17 11:17:55下载
    积分:1
  • 遗传算法控件
    对于学习遗传算法,并使用vb 语言来编程的用户,会大有帮助的。(for studying genetic algorithm, and use Visual Basic programming language to the user, it will be of great help.)
    2005-05-13 17:21:49下载
    积分:1
  • 多线管理
    说明:  安全的多线程管理,便于多线程编程,可供参考学习(Secure multithreading management)
    2019-04-11 15:48:38下载
    积分:1
  • 三维装箱MATLAB
    说明:  基于MATLAB20,能够解决常规的三维装箱问题(Solving the conventional three-dimensional packing problem)
    2021-03-17 20:19:20下载
    积分:1
  • Window下的select方式网络序的范例
    Window下的select方式网络程序的范例-Window select the mode network programming paradigm
    2022-07-12 10:04:35下载
    积分:1
  • An early end packaging and testing services, the source code, all you can compil...
    很早的网络游戏封测服务端源代码,全部可以通过编译,需要自行附加MYSQL头文件以及链接库。-An early end packaging and testing services, the source code, all you can compile it necessary to attach MYSQL header files, and link libraries.
    2023-06-23 08:45:04下载
    积分:1
  • PAssertedServiceParser
    Rancore Technologies Pvt Ltd, Mumbai India.
    2013-11-26 14:39:45下载
    积分:1
  • labview之应用datasocket的实例,非常详细的。
    labview之应用datasocket编程的实例,非常详细的。-LabVIEW Application DataSocket Programming examples, very detailed.
    2022-05-30 00:03:13下载
    积分:1
  • Demo_DsoFramer
    C#Web开发 使用DSOFramer插件实例。(C# Web developers use DSOFramer plug-in instance.)
    2013-12-13 17:17:17下载
    积分:1
  • 696518资源总数
  • 106155会员总数
  • 8今日下载