文件名称:Beach-to-catch-crabs
介绍说明--下载内容均来自于网络,请自行研究使用
线程和鼠标以及键盘事件的监听与处理是Java桌面应用程序中必须熟练掌握的关键技术。本程序使用线程和鼠标事件监听器开发一个捉螃蟹的程序,程序启动后会有一个线程控制螃蟹随机出现在沙滩的某个小洞里,鼠标点击某个螃蟹,它会流泪(因为知道自己要被抓了),而鼠标也会变成拾取物品的动作-Threads and monitor and handle mouse and keyboard events is a key technology Java desktop applications must be familiar of. This program uses threads and mouse event listeners catch crabs develop a program, the program will start a thread control random crab at the beach a little hole, a mouse click on a crab, it will cry (because they know they have to He was arrested), and the mouse will pick up items into action
(系统自动生成,下载前可以参看下载内容)
下载文件列表
海滩捉螃蟹03\.classpath
............\.project
............\bin\com\lzw\background.jpg
............\...\...\...\CaptureCarb$1.class
............\...\...\...\CaptureCarb$Catcher.class
............\...\...\...\CaptureCarb$MouseCrab.class
............\...\...\...\CaptureCarb.class
............\...\...\...\crab.png
............\...\...\...\crab2.png
............\...\...\...\hand.jpg
............\...\...\...\hand2.jpg
............\...\net\lzw\BackgroundPanel.class
............\...\...\...\bg.png
............\...\...\...\Fish$1.class
............\...\...\...\Fish$2.class
............\...\...\...\Fish.class
............\...\...\...\fish1.png
............\...\...\...\fish2.png
............\...\...\...\fish3.png
............\...\...\...\hand1.png
............\...\...\...\hand2.png
............\src\com\lzw\background.jpg
............\...\...\...\CaptureCarb.java
............\...\...\...\crab.png
............\...\...\...\crab2.png
............\...\...\...\hand.jpg
............\...\...\...\hand2.jpg
............\bin\com\lzw
............\...\net\lzw
............\src\com\lzw
............\bin\com
............\...\net
............\src\com
............\bin
............\src
海滩捉螃蟹03