登录
首页 » Java » test

test

于 2020-12-11 发布 文件大小:11KB
0 323
下载积分: 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 个回复

  • CTest
    简单的JAVA窗体小软件。包含一个计算器和评分系统,适合初步学习java窗体的人看(JAVA simple form small software. Includes a calculator and a scoring system for initial learning java form people watching)
    2014-10-09 20:50:22下载
    积分:1
  • right
    springmvc security 权限管理例子(springmvc security )
    2015-03-31 10:06:12下载
    积分:1
  • 21Player
    说明:  简单的21点游戏,通过控制台输入输出,用于对java基础知识的学习和练习(Simple 21-point game, input and output through the console)
    2020-06-16 01:00:01下载
    积分:1
  • lexical-014
    The following words are used as keywords in proposed extensions and are therefore reserved to allow for the possibility of future adoption of those extensions Source Code for Andriod.
    2014-02-02 21:57:13下载
    积分:1
  • dubbo
    说明:  处理dubbo和Spring占位符问题,使用springBoot(Dealing with Dubbo and Spring placeholders)
    2020-06-24 01:40:02下载
    积分:1
  • GyTree
    实现英文词条的后缀树搜索,同时还能实现简单词目的检索。(English term to achieve the suffix tree search, while the purpose of simple word retrieval.)
    2011-05-26 19:33:31下载
    积分:1
  • ProductDao
    JAVA的简单增加,删除 修改,更新语句(JAVA simple to add, delete modify, update statement)
    2013-07-03 09:27:16下载
    积分:1
  • ConvencionesCodigoJava
    Convenciones de Codigo Java
    2013-01-28 23:12:24下载
    积分:1
  • equagion
    一个java开发的定时器操作的小例子,欢迎大家使用(A small example of Java development timer operation, to welcome you all to use)
    2017-05-29 00:13:38下载
    积分:1
  • dp_group-dp-security-master
    说明:  采用Spring、SpringMVC、Mybatis、Shiro,前端采用adminLTE、vue.js、bootstrap-table、tree-grid、layer(Spring, Spring MVC, Mybatis, Shiro, adminLTE, vue. js, bootstrap-table, tree-grid, layer are used in the front end.)
    2020-06-19 11:40:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载