登录
首页 » Java » test

test

于 2020-12-11 发布
0 211
下载积分: 1 下载次数: 9

代码说明:

说明:  part1 (1)可以在“请输入文件路径和名称:”后面的文本框中输入文件名和路径。 (2)可以在文本区中写文本。 (3)可以在“请输入需要追加的内容:”后面的文本域中输入内容,按回车键之后,其中的内容会添加到文本区中(添加的内容另起一行)。 (4)单击“将文本区的内容写入文件”按钮,文本区中的内容就会被写到指定的文件中。 part2 (1)窗体的标题是“猜数字小游戏”。 (2)单击“得到一个随机数”按钮,系统会产生一个1~10之间的随机整数(使用Math类的方法random( ))。 (3)在“输入您的猜测:”后面的文本框中输入你要猜测的整数,之后单击“确定”按钮。 (4)对你猜测的整数,图形用户界面的最下面会有提示信息,没有猜的时候,显示“无反馈信息”,如果猜大了,显示“猜大了”,如果猜小了,显示“猜小了”,如果猜对了,显示“猜对了”。(其中,蓝色字体是JLabel类的对象调用方法setForeground(Color.blue)实现的。)(Java Simple Graphic Interface)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 21天学通JAVA
    本书为21天精通JAVA,PDF版本,书目详细,内容清晰,值得观看。(This book for 21 days, proficient in JAVA, PDF version, detailed bibliography, clear content, worth watching.)
    2017-09-09 14:11:29下载
    积分:1
  • jsi-master
    JSI (Java Spatial Index) RTree Library 是一个RTree算法Java实现的开源库,理论来源是Guttman1984年的一篇论文"R-trees: A Dynamic Index Structure for Spatial Searching" by Antonin Guttman",论文可见(PDF on CiteSeerX). 这个开源项目的代码遵循 GNU Lesser General Public License 最新的代码可以在http://github.com/aled/jsi上找到 同时例子在https://github.com/aled/jsi-examples(The JSI (Java Spatial Index) RTree Library open source Java implementation library of a RTree algorithm theoretical source of the Guttman1984 paper R-trees: A the Dynamic the Index Structure for Spatial, Searching by Antonin Guttman, papers can be seen (PDF onCiteSeerX). Follow the code of this open source project GNU Lesser General Public License The latest code can be found in http://github.com/aled/jsi At the same time example in https://github.com/aled/jsi-examples were)
    2013-03-18 18:26:05下载
    积分:1
  • 12
    说明:  简单实现抽签功能。通过两个数组的定义及借助random方法实现(Draw a simple function to achieve. Through the definition and use of two arrays of random method)
    2011-08-15 09:11:14下载
    积分:1
  • src
    说明:  冒险岛079服务器源码 冒险岛079服务器源码(sheng da maplestory079 fu wu duan yuan ma)
    2010-04-23 10:15:41下载
    积分:1
  • JavaIO-2nd Edition By Elliotte Rusty Harold
    JavaIO-2nd Edition By Elliotte Rusty Harold
    2019-05-11 21:49:25下载
    积分:1
  • pachong
    java的一个爬虫抓取物流信息的小demo,本demo测试抓取快递100的物流轨迹信息(Java crawler to grab logistics information of the small demo, this demo test to grab express 100 logistics trajectory information)
    2020-06-23 08:20:02下载
    积分:1
  • 理发店管理系统Beauty
    这是一个理发店管理系统,感兴趣的朋友可以下一下,该系统主要是有顾客排队功能(This is a barber shop management system, interested friends can look at the system mainly has customers queuing function)
    2013-12-13 11:11:53下载
    积分:1
  • 飞机大战网络版
    说明:  网络版JAVA版飞机大战,自己在学习JAVA网络开发时写的小栗子(Network version JAVA version of the aircraft war,Xiao Chestnut Written by myself in Learning JAVA Network Development)
    2020-07-04 03:20:02下载
    积分:1
  • useftpapplet
    Java编写实现一个FTP客户端程序,通过该客户端连接指定的服务器。useFtpApplet 类继承了Applet 类,在init()中实现的是此Applet 的初始化,设置布局和背景,建立文本、标签和文本域。   Connect()方法使用主机地址、用户名和密码作为参数,建立与主机的连接。使用new 生成新的FtpClient 类实例,使用login()方法登录FTP 服务器,调用showFileContents()方法显示文件内容。 (Java prepared to achieve an FTP client program, through which clients connect to the specified server. useFtpApplet class inherits the Applet class, init () is initialized in the realization of this Applet, set the layout and background, the establishment of the text, labels and text fields. Connect () method uses the host address, user name and password as parameters to establish a connection with the host. Use new FtpClient generate a new instance of the class, using the login () method to log FTP server, call showFileContents () method to display the file contents.)
    2014-09-23 18:11:27下载
    积分:1
  • triangle
    jsp文件,三角形的三边关系,三条边各自的长度,组成三角形的三边的条件,各种情况的分析(Triangle Success)
    2012-04-24 23:47:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载