登录
首页 » Java » test

test

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

  • RepairFactoryManagement-System
    基于java swing的汽修厂管理系统,可用于毕业设计,于初学者快速学习(Based on java swing garages management system can be used for graduation design, rapid learning for beginners)
    2014-04-08 14:41:55下载
    积分:1
  • cu
    说明:  针对本人的一款山寨5230修改的UC浏览器(A cottage for my 5230 modified UC browser)
    2011-05-09 17:31:34下载
    积分:1
  • NewResume
    我自己写的,ssh框架的的服务端,可以通过web访问来进行维护自己的心仪公司。(ssh server framework can be used to maintain their favorite company through web access.)
    2015-04-21 16:18:45下载
    积分:1
  • Spring_AOP_JDK
    Spring_AOP_JDK的使用和心得(about Spring_AOP_JDK)
    2014-11-08 17:22:08下载
    积分:1
  • observer
    java设计模式中观察者模式的简单实现,可以让读者清晰明白观察者模式的原理。(a java design pattern can let you know what is observe design pattern)
    2011-06-23 08:58:13下载
    积分:1
  • liredemo-v1.0_b4
    LIRE Releases Note that the releases indicate milestones, which we consider stable and usable. However, we recommend to use the current SVN version as it contains important tweaks, features and bug fixes.
    2018-12-07 14:35:11下载
    积分:1
  • SSM
    自己搭建的ssm框架,对于刚接触框架的小白来说有帮助的(Build their own SSM framework, for contact with the framework of the small white is helpful)
    2017-07-27 09:37:37下载
    积分:1
  • MyEclipse8-Spket
    MyEclipse8以上安装Spket插件[破解版](MyEclipse8 installation above Spket plug [cracked version])
    2013-09-12 12:59:29下载
    积分:1
  • savephoto
    使用eclipse连接数据库,将图片保存到数据库中(Connect to the database, the picture is saved to the database)
    2013-10-10 09:56:15下载
    积分:1
  • population
    小型户籍管理系统,可以实现基本的增删改查功能(Small household registration management system)
    2018-01-07 14:19:23下载
    积分:1
  • 696516资源总数
  • 106641会员总数
  • 4今日下载