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

  • 学生火车票预定管理信息系统的设计与实现
    说明:  基于C++的学生火车票预定系统,可以实现预览、增删、查询、预定等功能。(Student train ticket reservation system based on C++ can realize the functions of preview, addition and deletion, inquiry and reservation.)
    2020-06-19 09:00:06下载
    积分:1
  • linjiebiao
    说明:  用VC++环境和邻接表存储结构实现图论中的简单路劲(Implementation diagram of the simple Road King)
    2010-04-10 10:17:34下载
    积分:1
  • SSMjar包
    说明:  ssmjar包 整合ssm框架的所有用到的jar包(ssm jar pakage is very duo)
    2020-06-18 04:20:02下载
    积分:1
  • Mommosoft.ExpertSystem
    专家系统工具CLIPS的.net文件CLIPSNET.dll的源代码(CLIPS expert system tool for. Net source code file CLIPSNET.dll)
    2020-12-02 13:39:27下载
    积分:1
  • (2D)2PCALDA---face-recognition
    (2D)2PCALDA An efficient approach for face recognition
    2013-05-15 21:30:48下载
    积分:1
  • NamespaceMappings
    This member is continually incremented when new prefixes need to be generated Source Code for Andriod.
    2013-12-16 11:34:16下载
    积分:1
  • USRP
    this material is more suitable for students and technology enthusiasts wanting to learn more about the USRP hardware. it contains lots of information
    2017-03-14 19:10:13下载
    积分:1
  • SSHClient
    Windows系统下,SSH加密机制,用户身份认证代码,主要用于检测用户弱口令。(Windows OS,SSH encrypt,check the user s password on line.)
    2013-11-12 17:01:31下载
    积分:1
  • STK-user-manual
    STK的用户使用手册,这个手册被分成 18 章和一些提供特殊功能的附加部分(STK user manual,This manual is divided into 18 chapters that provide an additional part of the special function)
    2012-04-01 15:26:32下载
    积分:1
  • MP033
    mp3播放器,很好很强大的播放器java源代码,注释什么都有,简单易懂,(mp3 player, a very powerful player java source code, comments, everything, easy to understand,)
    2014-06-19 17:39:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载