-
演示了处理鼠标事件的基本作法,为获取鼠标事件的名称和坐标值,特意定义了一个函数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实现的oicq
用java实现的oicq-achieved using java Live
- 2022-06-01 10:31:40下载
- 积分:1
-
j2ee struts2 和 hibernate3 框架实例,提供了struts2 和 hibernate3 结合...
j2ee struts2 和 hibernate3 框架实例,提供了struts2 和 hibernate3 结合-j2ee struts2 and hibernate3 framework for instance, provides a combination of struts2 and hibernate3
- 2022-08-14 07:04:13下载
- 积分:1
-
Java做的采用多种方式连接各种常用的数据库的程序。
Java做的采用多种方式连接各种常用的数据库的程序。-Java do employ a variety of methods to connect various common database procedures.
- 2022-04-21 06:11:17下载
- 积分:1
-
学校成绩管理系统,其中含有设计部分,是本科毕业设计论文...
学校成绩管理系统,其中含有设计部分,是本科毕业设计论文-school management system, which includes the design part of the Undergraduate Graduation Thesis
- 2022-11-13 17:50:04下载
- 积分:1
-
一个实现了,画圆,直线,橡皮擦,随意画等功能的java画图程序
一个实现了,画圆,直线,橡皮擦,随意画等功能的java画图程序-one achieved, and the Circle Line and eraser, arbitrary function of painting java drawing program
- 2023-01-14 19:15:03下载
- 积分:1
-
java编写的小程序,可以供模仿学习之用!
java编写的小程序,可以供模仿学习之用!-prepared java applet, you can use for learning to imitate!
- 2023-01-15 00:55:03下载
- 积分:1
-
Java范例程序ch1.rar
Java范例程序ch1.rar-Java paradigm procedures ch1.rar
- 2022-08-23 16:36:20下载
- 积分:1
-
简易计算器不需要很高深的算法,对于数字计算的唯一要求就是在除数为零的时候要加以判断和处理,其他的就是窗口布局和功能完善了;首先:计算器需要一个显示按键结果的Te...
简易计算器不需要很高深的算法,对于数字计算的唯一要求就是在除数为零的时候要加以判断和处理,其他的就是窗口布局和功能完善了;首先:计算器需要一个显示按键结果的TextField部件,再就是添加很多Button了;为了界面的美观,为Frame添加两个panel,一个布局用BorderLayout.NORTH,另一个用GridLayout分成均等的几行几列;窗口的整体布局就基本成形了。剩下的为Button添加事件及响应事件的结果,编写程序实现。-simple calculators do not need high deep algorithm, figures for the only requirement is the divisor to zero when the judgment and, The rest is window layout and functions; First : need a calculator button shows the results of the TextField component, Then, it took a lot of added Button; To the beautiful interface, Frame added two panel, BorderLayout.NORTH using a layout, Another use GridLayout divided into equal out several lines; window on the overall layout of the basic shaping. Button left to add events and respond to the findings, preparation processes.
- 2022-01-22 13:27:23下载
- 积分:1
-
通过JDBC连接数据库,进行数据库的操作
通过JDBC连接数据库,进行数据库的操作-Connect to database through JDBC, database operation
- 2022-03-22 08:52:01下载
- 积分:1