登录
首页 » Java Develop » 演示了处理鼠标事件的基本作法,为获取鼠标事件的名称和坐标值,特意定义了一个函数SetValues(),返回鼠标事件名称s,坐标值xPos,yPos。作为最直观的...

演示了处理鼠标事件的基本作法,为获取鼠标事件的名称和坐标值,特意定义了一个函数SetValues(),返回鼠标事件名称s,坐标值xPos,yPos。作为最直观的...

于 2022-03-14 发布 文件大小:1,016.00 B
0 250
下载积分: 2 下载次数: 1

代码说明:

演示了处理鼠标事件的基本作法,为获取鼠标事件的名称和坐标值,特意定义了一个函数SetValues(),返回鼠标事件名称s,坐标值xPos,yPos。作为最直观的表示,随着鼠标的动作,在paint()立即显示鼠标事件的名称和坐标值。在这个基础上稍加改动,当拖动鼠标时,在其移动路径上连续地留下一系列的小圆点。当点击鼠标后,在其位置上画一个红色小十字。-demonstration of the mouse handle basic approach to mouse events access the names and coordinates, specifically defines a function SetValues (), to name s mouse events, coordinates xPos, yPos. As the most intuitive, as the mouse moves, the paint () immediately showed the mouse names and coordinates. On this basis is modified, when the Drag, on his mobile straight path, leaving a series of small dots. When the click of a mouse, in its place painted a small red cross.

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

发表评论

0 个回复

  • Search Engine Research and Implementation
    搜索引擎的研究与实现-Search Engine Research and Implementation
    2022-03-09 11:33:09下载
    积分:1
  • j2ee develop document spring api 2.0
    j2ee必备 spring2 api开发帮助文档 英文版-j2ee develop document spring api 2.0
    2022-08-20 01:10:41下载
    积分:1
  • Velocity示例
    Velocity示例-Velocity Example
    2022-12-12 13:45:03下载
    积分:1
  • a comparison between different programing language as c c++ java paython and
    a comparison between different programing language as c c++ java paython and -a comparison between different programing language as c c++ java paython and ...
    2022-03-11 16:06:26下载
    积分:1
  • 用Java和XML建立试题库管理系统,试题库管理系统的设计
    用Java和XML建立试题库管理系统,试题库管理系统的设计 -using Java and XML to establish test library management system, the test library management system design
    2022-06-03 17:51:49下载
    积分:1
  • a better management of the civil service system software source code, a detailed...
    一个较好的公务员管理系统软件源代码,有详细的解释说明,有较好的参考价值。-a better management of the civil service system software source code, a detailed explanation, a better reference value.
    2022-04-16 18:37:48下载
    积分:1
  • JPA
    JPA - Java Persistence User manual-JPA- Java Persistence User manual
    2022-01-26 00:16:46下载
    积分:1
  • java角色管理 java角色管理
    java角色管理 java角色管理-java code manager jsp bean servletjava code manager jsp bean servlet
    2022-01-23 10:57:44下载
    积分:1
  • This Source.zip has three application cod e folders containing. java and. class...
    This Source.zip has three application code folders containing .java and .class files and two .jar files as follows: 1. desktop-side_JXTA4JMS 2. mobile-side_JXTA4JMS 3. JMS Test Client 4. Listener.jar 5. JMSTestClient.jar We now explain execution steps, we followed, to run this JXTA4JMS application. Before we try we require Application softwares and need to configure JXTA relay and J2EE server.-This Source.zip has three application cod e folders containing. java and. class files and two. jar files as follows : 1. desktop-side_JXTA4JMS 2. mobile-side_JXT A4JMS 3. JMS Test Client 4. Listener.jar 5. JMST estClient.jar We now explain execution steps, we followed. JXTA4JMS to run this application. Before we try Application softwares we require and need to co nfigure JXTA relay and J2EE server.
    2022-01-25 22:32:43下载
    积分:1
  • 使用的例子
    JTREE的例子-JTREE example
    2022-03-24 10:19:32下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载