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

  • BPF
    说明:  matlab 使用傅里叶变换投影反投影sheep-logon(matlab Sheep-logon Projection Back Projection Using Fourier Transform)
    2019-06-05 00:13:07下载
    积分:1
  • fileno
    Backwards compatible ftime.
    2015-11-26 21:43:21下载
    积分:1
  • ly
    说明:  旅游网站设计,数据库设计,框架设计,主体设计,网页设计(Travel website design, database design, frame design, main design, web design)
    2019-05-14 11:25:39下载
    积分:1
  • MifareOne-example
    MifareOne读写例子,通过串口控制MifareOne射频卡的读写数据的VC++例程。调试通过。(MifareOne literacy example, through the serial control VC++ routine MifareOne RF card reader data. Debugging through.)
    2014-08-05 21:59:56下载
    积分:1
  • 60310
    Impact of Increasing Distributed Wind Power and Wind Turbine Siting on Rural Distribution Feeder Voltage Profiles
    2016-05-12 17:46:55下载
    积分:1
  • zhuzhuMusicMan
    猪猪音乐播放器是一个很简洁的音乐播放器,播放器的主界面只有简单的开始、后退、播放三个按钮。其余的就是专辑图片、歌曲名称、歌手名。因为大部分歌曲都没有专辑图片,所以项目中的专辑图片是几张写死的随机出现的图片。我不知道如果歌曲中如果有专辑图片会不会显示歌曲中的专辑图片。在主界面点击菜单可以出现播放列表、播放模式、版本检查、退出应用等按钮。播放列表里面的音乐时间布局显示有点问题,可能在大分辨率的手机上显示会正常。项目比较简单,也有详细的中文注释,适合新手学习和二次开发。(Pig music player is a very simple music player, player of the main interface only simple beginning, drawing back, playing three buttons. The rest is the album picture, the name of the song, the name of the singer. Because most of the songs are not on the album, so the project s album picture is a few random pictures of the dead. I don t know if there are any pictures of the album in the song if there is a picture of the album. Click menu in the main interface can appear play list, play mode, version check, exit applications, etc.. Play the music inside the list of time layout shows a little problem, it is possible to display on the large resolution of the phone will be normal. The project is relatively simple, there are detailed Chinese notes, suitable for beginners to learn and the two development.)
    2016-06-22 15:54:57下载
    积分:1
  • Download:网页下载工具 用来通过HTTP协议下载的程序,支持断点续传和多线程下载。 注意,该程序一次只能下载一个任务,那个列表虽然可以拉很多进去,不过是...
    Download:网页下载工具 用来通过HTTP协议下载的程序,支持断点续传和多线程下载。 注意,该程序一次只能下载一个任务,那个列表虽然可以拉很多进去,不过是摆设。-Download : website tools to the adoption of the HTTP protocol to download procedures, support HTTP download and multithreading. Note that this procedure can only be downloaded once a task that although the list can pull into the lot, but yes display.
    2022-07-12 02:15:43下载
    积分:1
  • inserbion
    The definition and use of the linked list class()
    2018-03-19 16:24:46下载
    积分:1
  • eayl-iostream
    struts in action, 详细介绍action,form的使用方法,经典(Struts in action, introduces the usage of action,form in detail.)
    2018-09-16 07:16:41下载
    积分:1
  • steganography
    stenography project using java. hiding data in image.
    2011-11-04 06:11:09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载