登录
首页 » Java » test

test

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

  • javaeydp
    说明:  jacob的一个例子,可以替换word表中的任意一个地方或是word中的表格(多行多列)(jacob an example, you can replace any word in the table or a place in the word form (multi-line multi-column))
    2008-09-27 21:14:16下载
    积分:1
  • JAVA-mobile-chess-game
    Java手机象棋,界面设计简洁,操作简单,实现智能规则判断,支持大型Web服务器,以Http 协议通信。内附doc和pdf文档(Java mobile chess, interface design is concise, simple operation, intelligent judging rules, support large Web server, with the Http protocol communication. Enclosed doc and PDF documents)
    2015-01-11 22:53:40下载
    积分:1
  • java_Factory
    java 设计模式 实例 Factory(java Design pattern Factory)
    2015-10-30 22:22:57下载
    积分:1
  • avgo8
    个很好的使用struts技术的地址簿的例子,很值得()
    2018-01-27 17:13:19下载
    积分:1
  • GJHStruts
    一个很好的struts国际化的例子,能够学习到基本的知识!呵呵!(A good example of struts internationalization can learn basic knowledge! Ha ha!)
    2009-12-16 15:49:43下载
    积分:1
  • MySpringAOP
    说明:  Spring AOP 面向切面编程 开发工具IDEA, TomCat, Sql(Introduction to SpringAOP , Development tools IDEA, TomCat, SQL)
    2020-06-20 00:00:02下载
    积分:1
  • CodeAttribute_info
    IAttribute Collection get Attributes Source Code for Andriod.
    2014-01-13 12:13:49下载
    积分:1
  • PrincipalCurves-Java
    Java实现主曲线的生成过程,使用多项式线性算法。(Java implementation of the master curve generation process, using a linear polynomial algorithm.)
    2020-11-16 10:19:41下载
    积分:1
  • thoughtworks
    thoughtworks笔试作业题,附有markdown说明文档(thoughtworks written job title, with markdown documentation)
    2016-11-26 21:08:32下载
    积分:1
  • somejavapp
    自己做的Java小程序 作为期末设计 可以接大家的燃眉之急 也可以方便初学者学习(Java applets to do their own design as the end of the urgent needs of people can access easily for beginners to learn)
    2010-12-15 19:40:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载