-
演示了处理鼠标事件的基本作法,为获取鼠标事件的名称和坐标值,特意定义了一个函数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
-
java编的mp3播放器,可拖动进度条,可静音,有示波显示
java编的mp3播放器,可拖动进度条,可静音,有示波显示-java series mp3 player, can drag the progress bar may be mute, has Oscillographic show
- 2022-06-30 18:42:05下载
- 积分:1
-
可以让初学者了解java主流开源(ssh)的集成。
可以让初学者了解java主流开源(ssh)的集成。-Will allow beginners to understand open source java mainstream (ssh) integration.
- 2023-07-21 21:50:04下载
- 积分:1
-
ehcache配置示例
EHCache configuration sample
- 2023-02-25 12:00:03下载
- 积分:1
-
用户输入自己想要的颜色即可实现
用户输入自己想要的颜色即可实现-user input their desired color can be realized
- 2022-08-09 15:15:30下载
- 积分:1
-
有java实现的basic语言解释器
有java实现的basic语言解释器-have achieved basic language interpreter
- 2022-09-18 13:45:03下载
- 积分:1
-
JAVA程序开发应用程序,小程序。请老师指导。
JAVA程序开发应用程序,小程序。请老师指导。-JAVA application developers, small procedures. Please instructor.
- 2022-03-19 16:12:06下载
- 积分:1
-
手机java拼图。java拼图游戏可以运行在移动设备上的…
Java拼图游戏手机版。这款java拼图游戏可以在手机上运行。源文件需要用eclipse打开,在eclipse左侧资源管理器中右键导入,然后选择现有项目到工作区中,点下一步,在选择根目录中选择压缩包解压后的目录,单击完成即可。用eclipse新建项目、新建源文件夹src及对应三个类、新建文件夹pic,与src同目录,放置图片。-Mobile Java jigsaw puzzle. The java jigsaw puzzle can be run on mobile devices. Source files need to use eclipse open eclipse on the left in the Explorer right to import, and then select an existing project to the work area, point the next step, the choice of the root directory choose the directory after extracting archive, click can be completed. New Project with the eclipse, the new source folder src and the corresponding three classes, the new folder, pic, with the same src directory, and place images.
- 2022-11-21 11:00:03下载
- 积分:1
-
3. A Shape interface design, interfaces include : Draw and Resize. Some specific...
3. 设计一个接口Shape,接口中包含方法:Draw和Resize。定义一些具体类,如:Point、Line、Circle、Rectangle等,每个类都实现接口Shape。Draw方法绘制图形,Resize方法改变图形大小。用Java实现这些接口和类,并用测试类测试它们。 注意:不需要真正绘制图形,如Line的Draw方法只需输出下面文本即可: “直线的起点是(x1,y1,),终点是(x2,y2)”-3. A Shape interface design, interfaces include : Draw and Resize. Some specific type definition, such as : Point, Line, Circle, Rectangle, each category are achieving Shape interface. Draw method of drawing, graphics Resize changed size. Using Java to achieve these interfaces and class, and use tests such testing. Note : no real drawing, such as the Draw Line method, only the following text can be output : "line is the starting point (x1, y1), and the ultimate goal is to (x2, y2)"
- 2022-01-25 15:17:52下载
- 积分:1
-
这是一个关于银行存取款的程序,小巧功能还好全的,java写
这是一个关于银行存取款的程序,小巧功能还好全的,java写-This is a bank deposit on the procedure, a small function better all the write java
- 2022-03-09 12:30:23下载
- 积分:1