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

  • id3
    用JAVA语言来实现数据挖掘中的ID3算法(JAVA language used to achieve the data mining algorithm ID3)
    2009-06-24 12:50:23下载
    积分:1
  • visualphone
    采用VB进行可视化通信编程的一个应用实例(using VB Visual Communication Programming Application of a)
    2006-08-06 23:35:40下载
    积分:1
  • Including the serial mouse controls and other electronic design Design Competiti...
    包括串口设计 鼠标控件 等电子设计大赛常用的功能-Including the serial mouse controls and other electronic design Design Competition commonly used functions
    2022-01-26 03:41:41下载
    积分:1
  • moshishibiesuanfashiyanshuju
    该数据集中的数据是由鸢尾属植物的三种花——Setosa、Versicolor与Virginica——的测量结果所组成,数据集中共包含150组数据信息,每一类别植物有50组数据。( The data in the dataset is composed of three species of Iris flowers- Setosa, Versicolor and Virginica- consisting of the measurement results, the data set contains a total of 150 groups of data, each class plants have 50 sets of data.)
    2014-02-22 22:18:42下载
    积分:1
  • gongshoujiaocai
    详细讲述了黑客攻防内容,深入学习系统,受益匪浅。(Details about the hacker attack and defense content, in-depth learning system, the absolute benefit.)
    2015-08-21 15:12:32下载
    积分:1
  • 1keyGHOST
    键GHOST是"DOS之家"首创的4种版本(硬盘版/光盘版/优盘版/软盘版)同步发布的启动盘, 适应各种用户需要,既可独立使用,又能相互配合.主要功能包括:一键备份C盘,一键恢复C盘, 中文向导,GHOST,DOS工具箱.(Key GHOST is " DOS House" first 4 versions (hard disk version/CD/USB Edition/floppy disk version) Sync released boot disk, to adapt to various user needs, can be used independently, can complement each other. Major Features include: a key backup C drive, one key to restore C drive, Chinese guide, GHOST, DOS toolbox.)
    2010-05-26 11:12:42下载
    积分:1
  • TicTacToe
    说明:  game tic tac toe in java
    2019-11-05 06:52:14下载
    积分:1
  • 学学client/sever
    学学client/sever程序-learn client/sever procedures
    2022-07-09 03:17:38下载
    积分:1
  • sdvx
    说明:  v(^ ^)v yeeeeeeeeeeeeees!!!!
    2019-01-03 15:07:21下载
    积分:1
  • JDK_API_1_6_zh_CN
    java的API,方便大家查阅,可以简单查看(the java API to facilitate access, you can simply view)
    2013-01-05 13:16:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载