登录
首页 » Java » test

test

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

  • A126560-WUXUNBO
    实现一个10乘10的表格 内部随即获得两个弧度 JAVA2D 图形绘制(Achieve a 10 by 10 inside the table then get two arc JAVA2D Rendering)
    2011-11-25 16:40:19下载
    积分:1
  • real-time-transmission-of-the-RTP
    JAVA语言下的基于RTP的实时传输,基于JMF(Based on the real-time transmission of the RTP)
    2013-03-11 21:56:28下载
    积分:1
  • ManagerTeaching
    Structs2+Spring+Ibatis入门(Structs2+Spring+Ibatis new study)
    2014-01-14 15:16:18下载
    积分:1
  • apache-maven-3.5.3-bin
    说明:  Apache的maven本地化工厂,项目的搭建和管理jar包。(Apache's Maven local chemical plant)
    2018-05-01 17:23:37下载
    积分:1
  • Win-in-the-clouds
    赢在云端,一本描述云计算的书籍,希望对云计算入门的同学有所帮助。(Win in the clouds, a description of cloud computing books, we hope the cloud started to help students.)
    2013-08-06 17:12:56下载
    积分:1
  • JavaCatg
    java source code fro inheritance
    2011-08-22 20:18:01下载
    积分:1
  • SwingInterfaceOntology
    a java project for ontology based mapping
    2012-04-27 15:56:16下载
    积分:1
  • Exe4_2
    2.设计一个简单的课程管理系统(CourseManager)。主要功能包括: (1)课程信息的录入。主要包括:课程号(no)、课程名(name)、学分(grade)等; (2)课程信息的查询。根据课程号、课程名和学分等查询课程的信息。注意:查询结果可能不唯一。 (3)课程信息的修改。根据课程号查询到指定课程的信息,再用新的内容替换。 (4)课程信息的删除。根据课程号删除指定课程的信息。 设计时,采用层次化设计法,将类分为界面层(ui)、功能层(business)和持久层(persistence)3层,放在不同子包中。整个系统的代码放在exe4_2包中。(2. Design a simple course management system (CourseManager). Key features include: (1) entry program information. Including: course number (no), course name (name), credits (grade) and the like (2) information about courses. Information based curriculum, course name and credit and other inquiries courses. Note: query results may not be unique. (3) Course modify information. Inquiry based curriculum to the specified courses, and then replaced with new content. (4) Delete course information. Remove a specified course of information based curriculum. Design, the use of hierarchical design method, the class is divided into the interface layer (ui), the functional layer (business) and persistence (persistence) 3 layers in different sub-packages. The system code in the exe4_2 package.)
    2020-12-09 21:29:20下载
    积分:1
  • Test
    本压缩文件是java语言编写的魔板游戏源码,拥有背景色、难度的选择,同时,游戏中可以播放音乐。(This compressed file is written in java source code magic board game, with the background color, the difficulty of the choice, the same time, the game can be played music.)
    2011-01-17 20:07:55下载
    积分:1
  • java_socket
    linux下java_socket详解(Detailed java_socket under linux)
    2008-01-21 15:38:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载