-
演示了处理鼠标事件的基本作法,为获取鼠标事件的名称和坐标值,特意定义了一个函数SetValues(),返回鼠标事件名称s,坐标值xPos,yPos。作为最直观的...
演示了处理鼠标事件的基本作法,为获取鼠标事件的名称和坐标值,特意定义了一个函数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.
- 2022-03-14 01:51:50下载
- 积分:1
-
Using class MouseMotionAdapter.
Using class MouseMotionAdapter.
- 2022-06-14 07:57:01下载
- 积分:1
-
Java 编写的图书管理小程序。功能很简单,仅用于学习之用。
Java 编写的图书管理小程序。功能很简单,仅用于学习之用。-Written Java applet library management. Function is very simple, just for learning purposes.
- 2022-03-03 20:41:27下载
- 积分:1
-
a very simple source in the notebook, can see oh. Perhaps a little help
一个非常简单的记事本源码,可以看看哦。或许有点帮助-a very simple source in the notebook, can see oh. Perhaps a little help
- 2023-05-14 14:05:03下载
- 积分:1
-
用JAVA编程实现的方块魔方!
用JAVA编程实现的方块魔方!-with JAVA programming of sheet Cube!
- 2022-11-28 19:05:03下载
- 积分:1
-
我java遍的一个运行程序
我java遍的一个运行程序-I java times of a program to run
- 2023-03-12 05:25:03下载
- 积分:1
-
大连cstp学校课堂练习,java编写的学籍管理系统
大连cstp学校课堂练习,java编写的学籍管理系统-Dalian cstp school classroom exercises, java, prepared by school management system
- 2023-03-25 04:50:03下载
- 积分:1
-
一个多播的实现程序
一个多播的实现程序-a multicast procedures for the realization
- 2023-04-05 15:35:04下载
- 积分:1
-
java 基础书籍,java2适合学习java初级人员
java 基础书籍,java2适合学习java初级人员-java
- 2022-02-27 02:40:35下载
- 积分:1
-
/**
* 去除字符串s左边的半角空格
* @param s 字符串
* @return 去除左边半角空格后的字符串
*/...
/**
* 去除字符串s左边的半角空格
* @param s 字符串
* @return 去除左边半角空格后的字符串
*/-/*** Remove the string s the left half-width space* @ param s string* @ return remove the spaces after the left half-angle of the string* /
- 2022-03-26 06:01:13下载
- 积分:1