搜索资源列表
MouseTestNJTU
- 当鼠标移动到指定的区域时,能够捕捉鼠标的动作,并在窗口上显示出来-when the mouse moved to the designated areas, can capture mouse movements, and show the window
java-1127-1
- 类似华容道的拼图游戏,目的是把大的方块移动到窗口的下方-HuaRong Road similar to the picture arrangement game, the aim being to big box moved to the bottom of the window
Test7
- 在窗口的一个区域进行鼠标操作:mouseEnter,mouseExit、mousePress,mouseDrage、mouseClick。在窗口的另一个区域以文字显示鼠标所进行的相应操作。另外当鼠标进行mousePress、mouseDrage、mouseClick操作时,将显示一个图片。当鼠标拖拉时,图片随鼠标移动。
在Applet中绘制图片
- 在Applet中绘制图片,能采用双缓冲技术进行图片绘制,会在Applet中采用多线程进行动画显示。能在Applet中实现动画的平滑显示,避免闪烁现象在Applet窗口中显示一只鸭子图片,要求这只鸭子以每秒100帧的速率水平移动,移到窗口边界再返回移动。在窗口中点击鼠标,鸭子停止移动;再次点击鼠标,鸭子恢复移动-Applet to draw pictures using double buffering techniques for drawing the picture, multi-threa
src
- 编写一个能绘制动态绘制正弦波和余弦波的程序,此程序绘制的正弦波和余弦波分属两个panel,它们会不断地在窗口中向后移动,就像示波器一样。-Prepared a dynamic map rendering sine and cosine waves procedures, this procedure drawn sine and cosine waves belong to the two panel, they will continue to move backwards in the wi
JAVA
- Java 范例实战 光盘使用说明 ========================== 本光盘的文件结构如下所示: ===================================== -|---/Sample/ (范例程序) |---AutoRun.inf (导览程序需要的文件) |---Index.htm (本书导览网页) |---ReadMe.txt (您现在正在看的文字说明文件) ps.您可以在光盘片里双击Index.htm开启浏览
sim
- 绘制动态绘制正弦波和余弦波的程序,此程序绘制的正弦波和余弦波分属两个panel,它们会不断地在窗口中向后移动,就像示波器一样-Drawing dynamic sine wave and cosine wave mapping procedures, the procedures of the sine and cosine mapping belong to the two-wave panel, they will continue to move backwards in the windo
ptyx
- 这是个类似华容道的拼图游戏,目的是把大的方块移动到窗口的下方。-This is similar to the jigsaw puzzle Huarong, which aims to move to a big box in the bottom of the window.
Eclipse
- Eclipse实用快捷键大全 Alt+左箭头,右箭头 以在编辑窗口切换标签 Alt+上下箭头, 以自动选择鼠标所在行,并将其上下移动 Ctrl+f6 可以弹出菜单,上面列出可以切换的编辑窗口,这样不用鼠标也可切换 Ctrl+f7 可以在视图之间切换 ,如编辑视图,输出视图,工程视图 Ctrl+f8 可以在不同的观察视图中切换,就是在java视图,调试视图,等之间切换 Ctrl+m 可以在最大化当前窗口和还原当前窗口之间切换 Ctrl+e 弹出输入窗口,可以输入你想要
IEMobie
- java实现漂浮可移动窗口,div显示隐藏,并可设置大小等功能-the realization of floating mobile java window, div show hide, and set the size of features such as
window
- 跟随主窗口移动的副窗口,当主窗口移动时,其他窗口与其的相对位置保持不变-Follow the movement of the Vice-window main window, when the main window is moved, the other windows and its relative position remains unchanged
javaforcolor
- jframe加载背景图片,鼠标移动获取任意点颜色,显示在小窗口-jframe loading background images, mouse movement to get any point color display in a small window
Exe7_3
- 设计一个跟踪鼠标移动的窗口。窗口中间添加一个蓝色背景白色文字的标签,在标签上显示鼠标指针当前坐标值。在窗口下方添加一个按钮,点击按钮可以在停止跟踪和继续跟踪之间进行切换-Designed to track the mouse movement a window. Middle of the window to add a blue background, white text label, the label displays the current mouse pointer coordina
4
- 编写小程序,在小程序窗口中显示字符串“java程序设计”,按下键盘上的箭头键,可按照箭头方向移动(提示:得到键盘键代码的方法是e.getKeyCode(),上、下、左、右键的编码分别用常量VK_UP 、VK_DOWN 、VK_LEFT 、VK_RIGHT表示)。-Writing small programs, in small program the window displays string "Java program design", press the arrow keys on the
MouseDemo
- 一个在窗口里随鼠标移动的十字架,当然在某些区域十字架的颜色发生变化。-the window of the cross, of course, in some regions changes color of the cross.
ClipDemo
- 本例将实现图像的遮照效果,运行结果:一个椭圆在窗口中移动,椭圆中显示背景图像,椭圆以外为黑色,背景图像被遮住。当鼠标在窗格中移动时,显示背景图像的椭圆跟着鼠标移动-This case image masks the effect of operating results: an oval window mobile, oval display a background image, other than for the black oval, the background image to be
CycleRecTest
- 在窗口的一个区域进行鼠标操作 :mouseEnter,mouseExit、mousePress、mouseDrage、mouseClick。在窗口的另一个区域以文字显示鼠标所进行的相应操作。另外当鼠标进行mousePress、mouseDrage、mouseClick操作时,将显示一个图片。当鼠标拖拉时,图片随鼠标移动。-Mouse operation in a region of the window: mouseEnter, mouseExit, mousePress, mouseDrage
duck
- 在Applet窗口中显示一只鸭子图片,要求这只鸭子以每秒100帧的速率水平移动,移到窗口边界再返回移动。在窗口中点击鼠标,鸭子停止移动;再次点击鼠标,鸭子恢复移动.包括实验报告。-In the Applet window displays a duck pictures, duck required rate of 100 per second horizontal movement, move the window border and back movement. In the windo
mousejava
- 程序运行时,如果在窗口中移动鼠标,窗口的底部将显示出鼠标的当前位置。如果移动鼠标的同时还按住CTRL或Shift键,窗口底部还会显示出C或S。如果用户按下键盘上的键时,程序窗口的底部显示出字母D;当用户松开键盘上的键时,程序窗口的底部显示出字母U。-mouse java
BALLgame
- 用户能通过GUI组件指定生成小球的数量,每个小球将从随机的位置出现,并具有随机颜色,随机速度以及随机的运动方向,小球沿初始方向匀速运动,当碰到窗口边缘时,小球将依据受力原理改变运动方向(可简化考虑,受力只改变小球的运动方向,小球仍按照初始速度匀速运动,且不考虑小球之间的碰撞)。 鼠标在界面中显示为方块状,玩家需来回移动鼠标以避开运动的小球及屏幕四周,如果鼠标碰到任一小球或者窗口四周,则游戏结束。 程序需提供计时功能,并最终显示玩家能坚持多少秒。-GUI components specif