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

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

于 2022-03-14 发布 文件大小:1,016.00 B
0 199
下载积分: 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 个回复

  • struts+ hibernate+ spring of a very good example, database mysql, paging and oth...
    struts+hibernate+spring的一个很好的例子,数据库为mysql,并且还有分页等功能,直接导入myeclipse中即可使用。-struts+ hibernate+ spring of a very good example, database mysql, paging and other functions and are directly imported to use in myeclipse.
    2022-03-01 10:54:56下载
    积分:1
  • 使用JavaMail开发的具有发送、接收邮件的应用,实现了特快专递,是否新邮件判断等...
    使用JavaMail开发的具有发送、接收邮件的应用,实现了特快专递,是否新邮件判断等-Developed with the use JavaMail to send, receive e-mail applications, to achieve a Speedpost, to determine whether new messages, etc.
    2022-02-20 04:43:17下载
    积分:1
  • Java编码规范中文版 javaCodingStandards
    Java编码规范中文版 javaCodingStandards-Chinese version of Java coding conventions javaCodingStandards
    2022-08-20 07:19:53下载
    积分:1
  • Base64 Encoder in JAVA
    JAVA中的Base64编码器
    2022-03-09 15:33:38下载
    积分:1
  • java写的聊天程序。
    用java写的聊天程序。 -Written with java chat program.
    2022-03-04 00:08:55下载
    积分:1
  • java编写的一个学生管理系统,适合初学者理解…
    一个用JAVA编写的学生管理系统,适合初学者,用来了解java的基本语法。-with Java to prepare a student management system, suitable for beginners to understand the basic syntax java.
    2023-02-01 22:50:04下载
    积分:1
  • spservicejava开发短信收发平台源码
    spservicejava开发短信收发平台源码-spservicejava develop messaging platform source
    2022-03-05 01:03:45下载
    积分:1
  • DWR introduce a book, DWR is a classic AJAX framework.
    一本介绍DWR的书籍,DWR是一个经典的AJAX框架.-DWR introduce a book, DWR is a classic AJAX framework.
    2022-04-18 20:48:35下载
    积分:1
  • 一个简单的Servlet聊天程序
    一个简单的Servlet聊天程序-a simple Servlet chat program
    2022-02-05 09:39:49下载
    积分:1
  • 真正的
    Real - Java floating point library for MIDP devices-Current version: 1.13 Copyright: 2003-2009 Roar Lauritzsen, roarl at users.sourceforge.net Availability: The library is available under the GPL license, or for a fee for commercial use. Develop: See http://sourceforge.net/projects/real-java Feedback: Comments, reports of use, bug reports, bug fixes, improvements, performance tests and comparisons to similar libraries are all welcome. Javadoc: Read the full documentation here. "Real.java" is a self-contained, single file Java floating point emulation library for MIDP devices, such as a Java-enabled cell-phone or PDA. The MIDP/CLDC 1.0 standard does not support the basic floating point types "float" or "double", so when I set out to program a scientific calculator for my cell-phone, I had to reinvent floating point arithmetic from scratch, using only integer basic types. I found it a very interesting and educating challenge. Download For a pure java version, use the f
    2023-02-09 08:35:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载