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

  • Shutdown
    设置倒计时关机程序的源码,会显示关机倒计时间,可以取消关机任务(Set the source countdown shutdown, shut down the remaining time is displayed, you can cancel the shutdown task)
    2010-10-11 11:30:10下载
    积分:1
  • 扫描局域网网端地址的
    扫描局域网网端地址的程序-scan LAN network addresses in the end
    2022-03-23 17:51:20下载
    积分:1
  • 文件传输序几源码,网络传输开发,从事TCPIP技术
    文件传输程序几源码,网络传输开发,从事TCPIP技术-file transfer procedures several source, network transmission development, technical engaged TCPIP
    2022-12-17 05:30:03下载
    积分:1
  • Divqng
    跳水计分系统为实际工作中作为计数的一个小工具,希望对所需者有点帮助,,(Diving scoring system for counting practice as a small tools, hope to see a little help,,)
    2017-04-11 02:29:22下载
    积分:1
  • JCHelloWorld
    一个javacard2.2.2的helloworld applet.(a javacard2.2.2 the helloworld applet.)
    2006-12-18 16:00:37下载
    积分:1
  • Desktop
    能够实现Delta并联机器人正逆解,正解和逆解完全对应;已经验证,亲测可用。(It can achieve the forward and inverse solutions of Delta parallel robot, and the positive solution and inverse solution correspond to each other. It has been verified that pro test is available.)
    2018-04-14 15:11:27下载
    积分:1
  • vbcjdd
    vb的经典插件对于初学者来说很方便的插件可以屏蔽垃圾代码(vb classic plugin for beginners is very convenient plug-shielding can refuse code)
    2007-01-21 23:34:20下载
    积分:1
  • pwo_solution_manual1
    Solution Manual for Programming with Objects c++ and java Programming with Objects: A Comparative Presentation of Object Oriented Programmming(Solution Manual for Programming with Objects c++ And java Programming with Objects: A Comparative Presentation of Object Oriented Programmming)
    2008-04-30 11:52:54下载
    积分:1
  • LIF神经元模型
    说明:  LIF脉冲神经元的Matlab实现代码。(Matlab implementation code for LIF spiking neuron model.)
    2021-02-27 17:59:36下载
    积分:1
  • jcglxtydm
    数据库课程设计,教材管理系统,本系统能够投入实际的使用并且满足基本的功能要求。要求具有极高的可靠性、安全性和易维护性,具有较高的可移植性。 本系统实现了以下的功能: (1) 查询模块:根据种类,查询教材的相关信息; (2) 征订模块:根据需要,征订员将需要征订的教材数据输入教材信息表 (3) 采购模块:采购员审核教材征订的信息,如果需要采购则通过审核,否则 删除征订的信息 ⑷ 用户管理:用(atabase of curriculum design, materials management system, the system can allocate the actual use and to meet the basic functional requirements. Requires a very high reliability, security and easy-maintenance, high portability. The system to achieve the following functions: (1) Query Module: In accordance with the type of query-related information materials (2) Subscription Module: In accordance with the needs of Subscription Subscription Members will need to enter the teaching materials data information table (3) procurement modules: Purchaser audited Subscription information materials, if required by the procurement audit, or delete subscription information ⑷ User Management: User administrators can create user information, delete users, modify user information)
    2013-09-22 15:40:21下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载