搜索资源列表
MouseTracker
- 演示了处理鼠标事件的基本作法,为获取鼠标事件的名称和坐标值,特意定义了一个函数SetValues(),返回鼠标事件名称s,坐标值xPos,yPos。作为最直观的表示,随着鼠标的动作,在paint()立即显示鼠标事件的名称和坐标值。在这个基础上稍加改动,当拖动鼠标时,在其移动路径上连续地留下一系列的小圆点。当点击鼠标后,在其位置上画一个红色小十字。-demonstration of the mouse handle basic approach to mouse events access the
Gr3d1m
- 绘制一个边框的正方体,获取鼠标事件根据鼠标的位置旋转方体。-Drawing a border of the cube, the mouse events to obtain the location of the mouse in accordance with rotating cube.
JDraw
- 绘图软件的开发,顾名思义,就是要开发一个能进行绘图的程序,为了能获取鼠标单击点的位置信息,需要用鼠标事件监听程序MouseListener和MouseMotionListener来获取鼠标事件,为此说明一个类来说明和实现这两个接口。还要调用调色板。-Drawing software development, by definition, is to develop a program capable of drawing, in order to obtain the location info
Mouse-location
- 动态获取鼠标的位置,显示在页面左上方,方便大家写鼠标跟随事件时使用。-Dynamic access to the mouse position, as shown in the top left of the page, write to facilitate the use of the mouse to follow the event.
RoBotTool
- java实现鼠标自动点击并输入数据提交,再输入窗口中输入提交,获取当前鼠标位置-java implementation automatically clicks the mouse and enter data submission, and then submit input window, to get the current mouse position
wechat_tyt
- 利用processing编写程序,使用控制鼠标获取小人及目标位置,可实现小人精确跳跃(Using processing programming, using control mouse to get villains and target location, can achieve accurate jumping of villains.)