登录
首页 » Java » test

test

于 2020-12-11 发布 文件大小:11KB
0 310
下载积分: 1 下载次数: 0

代码说明:

  part1 (1)可以在“请输入文件路径和名称:”后面的文本框中输入文件名和路径。 (2)可以在文本区中写文本。 (3)可以在“请输入需要追加的内容:”后面的文本域中输入内容,按回车键之后,其中的内容会添加到文本区中(添加的内容另起一行)。 (4)单击“将文本区的内容写入文件”按钮,文本区中的内容就会被写到指定的文件中。 part2 (1)窗体的标题是“猜数字小游戏”。 (2)单击“得到一个随机数”按钮,系统会产生一个1~10之间的随机整数(使用Math类的方法random( ))。 (3)在“输入您的猜测:”后面的文本框中输入你要猜测的整数,之后单击“确定”按钮。 (4)对你猜测的整数,图形用户界面的最下面会有提示信息,没有猜的时候,显示“无反馈信息”,如果猜大了,显示“猜大了”,如果猜小了,显示“猜小了”,如果猜对了,显示“猜对了”。(其中,蓝色字体是JLabel类的对象调用方法setForeground(Color.blue)实现的。)(Java Simple Graphic Interface)

文件列表:

experiment 5, 0 , 2019-05-30
experiment 5\.classpath, 301 , 2019-05-30
experiment 5\.project, 388 , 2019-05-30
experiment 5\.settings, 0 , 2019-05-30
experiment 5\.settings\org.eclipse.jdt.core.prefs, 670 , 2019-05-30
experiment 5\bin, 0 , 2019-05-30
experiment 5\bin\partOne, 0 , 2019-05-30
experiment 5\bin\partOne\Window$1.class, 948 , 2019-05-30
experiment 5\bin\partOne\Window.class, 2778 , 2019-05-30
experiment 5\bin\partOne\Writer.class, 412 , 2019-05-30
experiment 5\bin\partTwo, 0 , 2019-05-30
experiment 5\bin\partTwo\Random.class, 412 , 2019-05-30
experiment 5\bin\partTwo\Window$1.class, 705 , 2019-05-30
experiment 5\bin\partTwo\Window$2.class, 1533 , 2019-05-30
experiment 5\bin\partTwo\Window.class, 2508 , 2019-05-30
experiment 5\src, 0 , 2019-05-30
experiment 5\src\partOne, 0 , 2019-05-30
experiment 5\src\partOne\Writer.java, 1841 , 2019-05-30
experiment 5\src\partTwo, 0 , 2019-05-30
experiment 5\src\partTwo\Random.java, 2233 , 2019-05-30

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • juint
    说明:  junit单元测试用例的编写 采用的是mockMvc 测试控制器(JUnit unit test case)
    2020-06-18 08:00:02下载
    积分:1
  • xp_ie
    context.htc /mbar.htc 属性说明(仿xp多级菜单 不限级) 属性 说明 默认值 备注 xmlsrc : xml文档路径 无 必须指定,xml文档不能出错 text :显示的文本 无 id :选项的id 无 onclick :选择时执行的脚本 无 accessKey:快捷键 无 check :是否选定(yes/no) no enable :使能(yes/no) yes type :类型(line/选项) 选项 img :图片 无 NOTE: 请在 MSIE 5.5 以上版本浏览 xp_IE 尚未完成(context.htc/mbar.htc attributes (imitation xp multi-level open-level menu) Note default attribute values xmlsrc Remarks : xml files must be no designated trails. xml text files can not make any mistake : the text shows no id : options without onclick id : choose the script without accessKey : no shortcuts check : if selected (yes/no) no enable : enable (yes/no) yes type : Category (line/option) options img : Photo-NOTE : please MSIE 5.5 versions View xp_IE yet to be completed )
    2006-06-03 11:03:57下载
    积分:1
  • Spider_SinaTweetCrawler_java-master
    基于java的新浪微博的爬虫程序 Java-based Weibo crawler(Java-based Weibo crawler)
    2016-09-20 17:19:48下载
    积分:1
  • 12过滤器
    说明:  jsP过滤器模型,十分适合新手学习,建议下载,内容详细(JsP filter model, very suitable for beginners to learn, it is recommended to download, detailed content)
    2020-06-24 08:00:02下载
    积分:1
  • sudoku
    逻辑推理,通过程序设计实现简单的逻辑推理功能 (logic reasoning)
    2010-05-07 16:49:51下载
    积分:1
  • linux_pda_design
    基于嵌入式Linux的智能手机省电设计。一篇不错的文章。(Embedded Linux based smartphone energy saving design. A good article.)
    2007-04-04 11:22:52下载
    积分:1
  • packing
    说明:  用EvoHyp实现一维装箱问题的选择构造超启发式算法。(Implementation of a Selection Constructive Hyper- Heuristic using EvoHyp to solve the One-Dimensional Bin- Packing Problem)
    2020-11-12 17:45:49下载
    积分:1
  • AirConditioningCode
    分布式温控系统基本要求 1. 中央空调是冷暖两用,但一次只能使用一种温控装置。当设置为供暖时,供暖温度控制在25°C~30°C之间,当设置为制冷时,制冷温度控制在18°C~25°C之间。 2. 中央空调具备开关按钮,只可人工开启和关闭,中央空调开启后处于待机状态。当关闭后,不响应来自房间的任何温控请求。当有来自从控机的温控要求时,中央空调开始工作。当所有房间都没有温控要求时,中央空调的状态回到待机状态。 3. 房间内有独立的从控空调机,但没有冷暖控制设备。从控机具有一个传感器,实时监测房间的温度,并与从控机的目标设置温度进行对比,决定是否需要制冷或制热,并向中央空调机发出请求。如果从控机发出的请求和中央空调设置的冷暖控制状态发生矛盾时,以中央空调机的状态优先,即中央空调机不予响应。 4. 从控机只能人工方式开闭,并通过控制面板设置目标温度,目标温度有上下限制。所有房间的初始目标温度由中央空调机设置,每个房间的空调机开启时要读取中央空调机预置的房间温度。温度升降范围应该在目标温度的上下1 °C。房间不考虑大小和管道的分布及大小问题,在达到目标温度后,房间的温度每分钟上下变化0.1°C。 (Basic requirements of a distributed temperature control system 1. Central air conditioning is the well-being of dual-use, but can only use a thermostat device. When set to heating, the heating temperature at 25 ° C ~ 30 ° C, and when set to cooling, the cooling temperature at 18 ° C ~ 25 ° C between. 2. Central air conditioning with switch buttons can only be manually opened and closed, central air-conditioning turned on in standby mode. When closed, do not respond to a request from the room of any thermostat. When the machine from temperature control from the control requirements, central air-conditioning work. When all rooms are no thermostat demand, central air condition back to standby. 3. Room independent from the control air conditioning, but no climate-control equipment. From the control machine with a sensor, real-time monitoring the temperature of the room, and with the goal set from the control unit compares the temperature to determine the need for cooling or he)
    2021-04-14 20:58:54下载
    积分:1
  • apache-ant-1.7.0-bin
    ant1.7 , built utils
    2020-06-22 18:00:01下载
    积分:1
  • Java API文档中文版
    java api文档 中文版的 适合刚入门的 编程时可查阅相关内容(The Chinese version of the Java API document can be consulted when programming for beginners)
    2020-06-22 16:40:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载