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

  • MAX5980 Evaluation Kit
    基于MAX5980芯片的POE网络交换机设计(This article is done with the MAX5980 chip and the Ethernet network switch chip. The joint design scheme demonstrates the feasibility of the practical application of the POE chip combined with the network switch. The scheme is designed to be complete and stable, and can fully meet the normal operation of various types of powered devices of the back-end network.)
    2020-06-25 12:20:02下载
    积分:1
  • Socket基本通信
    SOCKET界面的编程,TCP程序的实现。(SOCKET interface programming, TCP program implementation.)
    2017-09-11 12:17:10下载
    积分:1
  • 样品的ftpserver SRC
    一个简单可用的ftp服务器例子程序。 在studio2005下编译,windows x32 平台-a sample ftpserver src
    2023-03-07 14:25:03下载
    积分:1
  • Python基础教(第3版) - 2017
    Python基础教程(第3版),2017年出版,学习python的好工具。(Python Basic Tutorial (3rd Edition))
    2020-06-16 14:34:28下载
    积分:1
  • AllureServer
    Allure Server Run Server files + server zip (Server Start is bat files not exe)
    2013-12-19 01:53:53下载
    积分:1
  • 312121企业网站PHP应用序 312121企业网站PHP应用
    312121企业网站PHP应用程序 312121企业网站PHP应用程序-312,121 corporate sites 312121 enterprise PHP applications PHP Web applications
    2022-01-26 03:38:48下载
    积分:1
  • WindPMSG_985w_45A_70V_crowbar1
    说明:  1kw左右永磁直驱风机并网模型;带有低电压穿越;穿越方式是电阻耗能型,控制直流母线电压下降。(The grid-connected model of permanent magnet direct drive fan around 1kw; with low voltage crossing; the crossing mode is resistance energy dissipation type, which controls the DC bus voltage drop.)
    2019-12-19 11:05:54下载
    积分:1
  • 使用select模型进行网络的例子,使用标准c,移植性能好,是最基本的网络模型...
    使用select模型进行网络编程的例子,使用标准c编程,移植性能好,是最基本的网络模型-Select model using the example of network programming, using the standard c programming, transplant performance and is the most basic network model
    2023-02-08 11:40:04下载
    积分:1
  • introduction-to-OFDM-2
    4HE BASIC IDEA OF /&$- IS TO DIVIDE THE AVAILABLE SPECTRUM INTO SEVERAL SUBCHANNELS ?SUBCARRI? ERS?? Y MAKING ALL SUBCHANNELS NARROWBAND? THEY EXPERIENCE ALMOST ?AT FADING? WHICH MAKES EQUALIZATION VERY SIMPLE? 4O OBTAIN A HIGH SPECTRAL EbCIENCY THE FREQUENCY RESPONSE OF THE SUBCHANNELS ARE OVERLAPPING AND ORTHOGONAL? HENCE THE NAME /&$-?
    2016-04-09 14:05:02下载
    积分:1
  • 蒙特卡罗方法概述
    说明:  这个是蒙特卡罗方法的讲义 ,主要内容为蒙特卡罗方法的产生方法和用途(the Monte Carlo method is the lectures, mainly as the Monte Carlo method uses methods and)
    2005-11-24 13:34:55下载
    积分:1
  • 696518资源总数
  • 104226会员总数
  • 29今日下载