登录
首页 » Java » test

test

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

  • myeclipse0102
    亮剑java项目开发实例导航01 02源代码亮剑java项目开发实例导航01 02源代码(Strong-arm reaction Java project development instance navigation 01, 02 source two project source code contains a , you can run)
    2015-04-07 08:54:10下载
    积分:1
  • charsets
    java 2d example game
    2009-03-03 21:22:40下载
    积分:1
  • downLoad
    运用JavaWeb中多线程的知识完成,实现文件的多线程下载,其中可选择下载时线程的数量,暂停下载,以及删除下载任务等。(Completion of the knowledge using JavaWeb multi-threaded, multithreaded file download, which can choose to download the number of threads, pause a download, as well as remove the download task.)
    2013-03-06 15:57:50下载
    积分:1
  • MyCxfServer
    说明:  基于cxf实现的java服务器端webservice,包含一个sayHello方法,供入门者参考(Java server-side Web service based on CXF includes a sayHello method for beginners to refer to)
    2019-05-19 15:38:46下载
    积分:1
  • AbsoluteFileBackupHelper
    Like FileBackupHelper, but takes absolute paths for the files instead of subpaths of getFilesDir() Source Code for Java Script.
    2013-10-02 01:36:45下载
    积分:1
  • YUV420SP-master
    这个安卓源码包含两个工程,分别用JAVA 和 NDK 本地代码去实时转换摄像机的每帧颜色,可以用来了解、比较Java与NDK的效率的不同,对相关摄像机,NDK/JNI,颜色编程等技术有一定了解(The Android source code contains two projects, namely with JAVA and NDK native code to convert each frame in real time color video camera can be used to understand, compare the efficiency of Java and NDK different, the relevant camera, NDK/JNI, color programming technology have some understanding)
    2014-01-05 15:36:14下载
    积分:1
  • Hangman_-in-Java
    用java写的一个猜单词小游戏,Hangman。适合初学者学习java使用。可以用命令行运行,内有user manual。(A game whose name is hangman. A good java code for people who begins to study JAVA. Can be run in command line.)
    2020-12-03 13:59:24下载
    积分:1
  • ajaxtm
    google的gson,很好用的架包,里面包含json与对象之间的简单转换(failed to translate)
    2013-05-03 10:05:14下载
    积分:1
  • menubar-1.0.20-src
    说明:  使用j2me实现二级菜单,有利于页面的扩展,有利于开发(Use j2me to achieve the secondary menu is conducive to the expansion of the page and is conducive to the development of)
    2008-10-26 14:45:12下载
    积分:1
  • Proficient-at-JAVA-in-21-Days
    Java教程,21天精通JAVA电子书,清晰版。(Java Tutorial, 21 days proficient JAVA books, clear version.)
    2013-11-22 19:30:35下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载