登录
首页 » Java » 时钟 走动

时钟 走动

于 2020-06-19 发布
0 826
下载积分: 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 个回复

  • DR2
    美国空军标准的飞行器气动计算软件DATCOM的可视化版本,使用更加方便!(A software with GUI, which can be used to calculate aerodynamic characteristics of a aircraft!)
    2020-07-03 14:20:01下载
    积分:1
  • F__1562205512848
    说明:  java 操作文件写入,读取。。。。。。。。。。。。(Java operation file write, read)
    2020-06-25 17:00:02下载
    积分:1
  • fRAMElAYOUTgRAVITY
    Frame Layout Gravity extends Activity Source Code for Andriod.
    2014-01-13 19:22:41下载
    积分:1
  • owocx673
    用JAVA编写的聊天程序,通过编译,生成类文件,而且功能很是强大()
    2018-02-11 13:36:59下载
    积分:1
  • ranve
    是实用的东西,介绍利用JAVA开发的一个程序,鼓励程序()
    2018-05-15 11:56:11下载
    积分:1
  • api
    jxta的2.5英文api,方便大家了解jxta(2.5 jxta English api, to facilitate understanding of the jxta)
    2012-05-21 15:52:35下载
    积分:1
  • 365191126san
    JSP+MYSQL实现的影音系统,功能不错。欢迎大家下载。(JSP+ MYSQL realization of audio-visual system function well. Welcome to the download.)
    2009-05-14 23:02:22下载
    积分:1
  • cheese3
    my hardy was there before Christ
    2012-09-07 08:07:30下载
    积分:1
  • KrigingCore
    说明:  普通克里金算法实现,使用java进行的一个普通克里金算法实现,本代码开源(Ordinary kriging algorithm implementation)
    2020-01-02 17:27:11下载
    积分:1
  • iss
    基于Java的师生交互平台,注释清楚,易懂,可以按照需求修改(Java-based interactive platform for teachers and students, but also good, oh)
    2013-08-01 10:15:36下载
    积分:1
  • 696518资源总数
  • 106164会员总数
  • 18今日下载