登录
首页 » Java » 时钟 走动

时钟 走动

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

  • ChatQQ
    学好嵌入式,学好java,从最基本的山寨版QQ聊天室开始,该程序已通过测试。。。(good good study,day day up.)
    2013-11-08 20:13:23下载
    积分:1
  • 实现摄像机抓拍 获取车牌分析数据 iceDemo 64
    java调用巨龙dll 实现摄像机抓拍 获取车牌分析数据(java demo contains java sdk dll jna and so on)
    2018-06-14 09:00:07下载
    积分:1
  • jQuery_LigerUI
    jQuery ligerUI Demos 导航页,jQuery LigerUI是基于jQuery开发的一系列控件组,包括表单、布局、表格等等常用UI控件 使用LigerUI可以快速创建风格统一的界面效果。(jQuery ligerUI Demos navigation page, jQuery LigerUI is a series of controls based on jQuery development groups, including forms, layout, tables, etc. Use LigerUI common UI controls can quickly create a unified style interface effects.)
    2014-10-24 09:19:08下载
    积分:1
  • ifs1
    生成Sierpinski垫片的IFS方法 java代码(IFS method for generating Sierpinski gasket)
    2014-01-20 12:11:08下载
    积分:1
  • area_app_api
    很重要的log文件为啥就通过不了呢,具体我也不知道啊(To the time to life, rather than to life in time to the time to life, rather than to life in time)
    2020-06-23 17:20:02下载
    积分:1
  • day03_pm
    java培训笔记,第三天可以学习的内容,适合刚理解java,0基础的学java的学员(java training notes, you can learn the contents of the next day, for just understand java, 0-based learning java trainee)
    2013-09-02 18:14:27下载
    积分:1
  • JavaPSwing-code
    Java Swing是目前图形界面设计的主流开发工具,本书从实用的角度出 发,通过大量实例全面介绍Java Swing中各种组件的应用及图形界面的开发 技术。(Java Swing GUI design is currently the mainstream of development tools, from a practical point of view the book Hair, comprehensive introduction and development of various components of Java Swing application and a graphical interface through a lot of examples Technology.)
    2014-08-18 17:16:53下载
    积分:1
  • Dynsql
    带参数Oracle SQL构造工具。用于帮助在java代码中构造复杂的SQL。应用本工具可以省去构造SQL时的对数据格式的处理的问题,避免了在处理数据格式时候可能出现的许多细节问题。有助于编写精简、紧凑、高质量的代码!(Tool help to structure complicated Oracle SQL in Java code.)
    2012-05-03 20:12:56下载
    积分:1
  • ExecSQL
    java从文本文件中读取并执行SQL语句的示范。(java from text documents to read and implement SQL model.)
    2007-04-23 17:25:16下载
    积分:1
  • ibatistest
    ibatis 和spring的整合,详细的说明了ibatis的各种查询方式和spring的各种整合配置
    2012-08-20 12:31:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载