本案例是使用Java Applet 响应鼠标事件,点击图标后进入相应的页面。-this case is to use Java Applet response to the mouse, click on the corresponding icon and entered the pages. 下载
|
java鼠标事件,在窗口内任意点击鼠标,可以画出一个个圆点。- 下载
|
本案例是一个JAVA APPLET实现页面响应鼠标事件的例子。实现了鼠标移入、移出、点击事件的响应功能-this case is to achieve a JAVA APPLET page response to mouse events example. To achieve the mouse moved, removed, click the response function 下载
|
这个也是初学GUI的必看程序,是事件驱动的例子,可以显示哪个按键被点击了-This is a novice GUI watched every game procedures, event-driven examples will show which hits the keys 下载
|
这只是一个简单的界面设计。 可以通过扩展为按钮等添加点击事件,从而实现想要的功能。-This is a simple interface design. Through the expansion, such as adding to click on the button, thereby achieving the desired function. 下载
|
* 显示图像。鼠标点击改变显示位置 * 用 Applet 的方法 getImage() 产生图像Image * 用 Graphics 的方法 drawImage() 画出图像 * 在 paint() 方法中画图,或在鼠标事件侦听方法中画图 * 鼠标点击,产生 mouseClicked 事件-* display the image. Click on the mouse to change location * Use Applet method getImage () produces images * Image Graphics with the drawImage () * paint images in paint () method drawing, or the mouse incident interception methods drawing * mouse clicks have mouseClicked incident 下载
|
分形算法在基本的Floy程序的基础上加入了进化机制的版本:首先点击Scramble按钮这样可以使得我们当前的种群多样化,你会看到每只Floy都有了不一样的颜色,并且它们的行为特征都不尽相同。然后点击Start Evolution按钮进化就开始了。注意,一只入侵者飞了进来,只有当入侵者被击毙的时候才开始下一代,这样一代一代的重复下去。你所要的就是静静的观察与等待,也许一些意想不到的事情就在你眼前发生了。-fractal algorithm Floy in the basic procedures on the basis of the evolutionary mechanism to the version : Click on the first button to scramble This has enabled us to the current population diversification, You will see each Floy have a different color, and their behavioral characteristics are different. Then click Start button Evolution evolution began. Attention to a flying in. invaders, only when the invaders were killed when they are the next generation. This generation of repeat indefinitely. You want is for quiet observation and waiting, perhaps some unexpected things happen in front of you. 下载
|
程序名称:PolyDemo 运行环境:系统需要安装j2sdk-1_4_2 注意事项: 如修改数据,先在文本框中输入自行设定的数据,再点击“重置数据”即设置成功。 再选择“单步执行”或“连续执行”。 用Java Applet实现算法的动态模拟 -procedures title : PolyDemo runtime environment : system need to install j2sdk - 1_4_2 Note : If data changes, first in the text box to set the input data, then click on "replacement data" is a success. Choose the "single-step" or "continuous implementation." Java Applet Dynamic Simulation Algorithm 下载
|