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

  • 简历
    说明:  jianli muban gezhogn xiangxing
    2020-06-20 01:20:02下载
    积分:1
  • qnhg
    传奇韩国客户端源代码,用于网游研究使用。(Legendary Korean client source code for online research purposes.)
    2013-11-05 23:14:12下载
    积分:1
  • 利用VC写的小序,可以获取当前的工作组……大家可以学习参考一下...
    利用VC编写的小程序,可以获取当前的工作组……大家可以学习参考一下-VC prepared using a small program, you can obtain the current working group ... ... everyone can learn from reference
    2022-02-01 16:42:01下载
    积分:1
  • 文件传送 This program is free software you can redistribute it and/or modify it unde...
    文件传送 This program is free software you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2 of the License, or (at your option) any later version. * * copyright : (C) 2002 by Zhang Yong * * email : z-yong163@163.com *-file transfer This program is free software you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2 of the License, or (at your option) any later version.** copyright : (C) 2002 by Zhang Yong** email : z-yong163@163.com*
    2022-12-15 17:20:05下载
    积分:1
  • clientudp
    clientUDP -clientUDP
    2022-01-26 06:34:40下载
    积分:1
  • 有关Ping使用的例子
    有关Ping使用的例子-the Ping examples of usage
    2022-02-05 09:19:43下载
    积分:1
  • VC下Socket通信很好一个例
    VC下Socket通信很好一个例程-VC Socket Communications a good routines
    2022-03-10 18:48:19下载
    积分:1
  • Servlet and JSP core programming, can be ported to multiple systems above
    Servlet与JSP核心编程,可以移植到多个系统上面的-Servlet and JSP core programming, can be ported to multiple systems above
    2022-03-18 22:24:11下载
    积分:1
  • CPPPrimer4
    C++Primer第四版中文版(电子版).pdf(C++Primer fourth edition of the Chinese version (electronic version). Pdf)
    2013-08-26 09:20:16下载
    积分:1
  • Jaya-Optimizer-master
    说明:  JAYA优化算法,用于多目标优化设计,较传统遗传算法等具有更大优势。(Jaya optimization algorithm, used in multi-objective optimization design, has more advantages than traditional genetic algorithm.)
    2021-01-09 15:58:51下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载