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

  • 这是一个单线聊天室代码,用java写的,使用的是Swing包。
    这是一个单线程聊天室代码,用java编写的,使用的是Swing包。-This is a chat room single-threaded code, using java prepared using Swing package.
    2022-08-26 03:25:22下载
    积分:1
  • 900628
    POST注册Tom邮箱源码,程序创建易语言HTTP对象实现POST注册Tom邮箱。(Tom POST registered mail source code, the program creates an object implementation easy language HTTP POST registered Tom mailbox.)
    2014-09-18 12:05:16下载
    积分:1
  • Databasesampletest
    JAVA实现模拟数据库,可以读取和保存文件(JAVA simulation database, can read and save the file)
    2007-05-04 13:45:12下载
    积分:1
  • tide
    潮汐准调和分析的程序,希望大家喜欢。 最主要的是太多公式要输入,希望以后不用再输了。(Tidal quasi-harmonic analysis procedures, I hope everyone likes. The most important thing is to enter the formula too much, do not lose the hope that it will.)
    2008-06-01 10:19:30下载
    积分:1
  • boost-log
    Multiplatform C++ Log with Boost
    2015-10-28 15:47:56下载
    积分:1
  • hex2bin
    hex2bin顾名思义就是16进制转2进制,纯属自己编写(hex2bin the name suggests is a hexadecimal binary transfer is purely their preparation)
    2014-06-11 21:31:51下载
    积分:1
  • struts2.1.8.1-API
    struts api JAVA软件工程师必备(struts api JAVA Software Engineer required)
    2014-01-19 22:50:09下载
    积分:1
  • Java网络 电子书资料 详解Socket 软件工专业
    Java网络编程 电子书资料 详解Socket编程 软件工程专业-Java network programming book information Xiangjie Socket Programming Software Engineering
    2022-03-25 11:38:23下载
    积分:1
  • Encryption
    本文介绍利用注册码(序列号)软件加密方法,该方法可实现一机一个流册码,解密难度大(this document introduce how to protect your software by encrypt the application)
    2014-02-12 22:51:54下载
    积分:1
  • 基于winsock网络技术实现客户端图片传送到服务器端
    基于winsock网络编程技术实现客户端图片传送到服务器端-ImageTransfer through winsock
    2023-06-14 07:35:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载