登录
首页 » Java » 时钟 走动

时钟 走动

于 2020-06-19 发布
0 965
下载积分: 1 下载次数: 1

代码说明:

说明:  一个应用线程实现指针运动的指针时钟程序。程序应用绘制函数时钟面板,根据线程休眠时间间隔,每隔1000ms进行一次重绘。程序通过获取系统时间函数并加以计算个指针位置,再利用绘制函数将其绘制在面板上,通过设置指针长度及颜色,实现时针、分针、秒针的区分。次外,通过获取窗体大小,设置圆面圆心坐标及半径,可依据窗口大小动态划分圆面大小,并动态绘制刻度点位置。(A pointer clock program that uses threads to implement pointer movement. The program draws the function clock panel and redraws it every 1000ms according to the interval of thread dormancy. The program obtains the system time function and calculates the position of a pointer, then draws it on the panel by drawing function. By setting the length and color of the pointer, it achieves the distinction of clockwise, minute and secondhand. Secondly, by acquiring the size of the form and setting the coordinates and radius of the circle center, the circle size can be dynamically divided according to the size of the window, and the location of the scale points can be dynamically plotted.)

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

发表评论

0 个回复

  • OLAP_client
    使用Java开发的数据仓库OLAP程序,后台是Oracle 10G 10.0.0.3 前台使用Jdeveloper开发。(use Java development OLAP data warehouse procedures, background Oracle 10G 10.0.0.3 use JDeveloper development prospects.)
    2005-07-27 19:14:09下载
    积分:1
  • survey
    此为问卷调查系统 最好请跑在tomcat6.0下 系统有一些bug 以后会进行更新(This system is best for the survey, please run the system in tomcat6.0 some bug will be updated later)
    2011-11-27 14:43:09下载
    积分:1
  • BlendComposite
    Blend Composite Class
    2010-12-15 17:45:17下载
    积分:1
  • shoupiao
    列车购票系统,列车员,用户,购票查询增删改等功能(Train ticketing systems, conductor, users, ticket inquiries CRUD functions)
    2014-06-18 22:59:40下载
    积分:1
  • jre-1_5_0_06-windows
    jre1.5.10 java运行库,java软件运行必备(jre1.5.10 java runtime library, java software operation required)
    2020-06-26 05:20:01下载
    积分:1
  • Door
    门禁系统 适合初学者学习的 控制台java程序 代码简单功能明确(Access control system suitable for beginners to learn a simple function of the console java code explicitly)
    2013-12-26 22:32:07下载
    积分:1
  • StringUtil
    String 辅助工具类,提供一些常用的方法,包括非空判断、中文字符判断、电话号码(手机号码、邮箱)校验等(String Utils)
    2013-06-29 10:27:41下载
    积分:1
  • HouseRent
    java写得房屋出租管理系统,可作为教学或毕业设计参考(a house rent system)
    2020-12-12 21:19:16下载
    积分:1
  • fushutest
    fushutest用来实现两个复数的加减乘数,里面的代码需要自己填写(fushutest be used to achieve the addition and subtraction of two complex multiplier, which fill in the code that needs its own)
    2009-10-21 18:52:31下载
    积分:1
  • 勇敢的猪
    实现"勇敢的猪"这款游戏的最基本功能,如游戏界面,操作控制,游戏设置,玩家排行榜与帮助等(To achieve the most basic functions of the "brave pig" game, such as game interface, operation control, game settings, player ranking and help, etc.)
    2020-06-19 15:00:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载