-
JBuilder制作音频播放程序,需要注意的是,当播放时,界面上的各个按钮应当仍然可以对用户的操作进行事件响应,所以至少需要两个线程:一个控制歌曲的播放,另外一...
JBuilder制作音频播放程序,需要注意的是,当播放时,界面上的各个按钮应当仍然可以对用户的操作进行事件响应,所以至少需要两个线程:一个控制歌曲的播放,另外一个对用户事件进行响应。因此我们的AudioPlay类需要实现Runable接口,以使用多线程技术。根据JDK的解释-JDK1.4.0,任何需要由线程执行的实例都应当实现Runable接口,而且由于我们只需要重写run()方法和stop()方法,并给start()方法多态化,所以我们选择实现Runable接口,这样就可以不需要继承Thread类而使用Thread类的实例来运行了。-JBuilder produced audio player, it needs attention is that when players, the interface on the various buttons can still be right for users to operate the incident response, at least two threads : a control song playback, the other to users respond to the incident. Therefore we need to achieve AudioPlay category Runable interface to the use of multi-threading. According to the interpretation of JDK- JDK1.4.0 any need for threaded implementation of the examples are to be achieved Runable interface, and because we only need to be rewritten to run () method and stop () method, and to start () method is polymorphic, so we have chosen to achieve Runable Interface so you can not inherit Thread type and category of use Thread e
- 2022-07-01 06:32:38下载
- 积分:1
-
用java实现的一个bbs的portal
用java实现的一个bbs的portal-inplement bbs portal by java
- 2022-03-02 12:24:54下载
- 积分:1
-
一个经典的mp3源程序
一个经典的mp3源程序-a classic mp3 source
- 2022-02-26 19:31:08下载
- 积分:1
-
小时候经常玩的坦克游戏,现用JAVA编写的,希望大家喜欢,并提出建议...
小时候经常玩的坦克游戏,现用JAVA编写的,希望大家喜欢,并提出建议-childhood tanks used to play the game, it is prepared by using JAVA hope you like them, and make recommendations
- 2022-01-26 00:13:40下载
- 积分:1
-
这是一个打印服务器java写的socket编程,这里的客户端发送..
This a print server written in java socket programming, Here the client sends a request to the server for printing and the client accepts the request and prints.complete working codes are included-This is a print server written in java socket programming, Here the client sends a request to the server for printing and the client accepts the request and prints.complete working codes are included
- 2022-01-25 23:16:25下载
- 积分:1
-
弹出窗口的小测试程序
弹出窗口的小测试程序-small pop-up window of the test procedure
- 2022-07-15 17:35:29下载
- 积分:1
-
Oracle发布的oracle8i以上版本能够将oracle数据库中查询记录直接映射为XMl文件的jar包,很实用....
Oracle发布的oracle8i以上版本能够将oracle数据库中查询记录直接映射为XMl文件的jar包,很实用.-Oracle released oracle8i versions can be oracle database inquiries directly map to the record XMl documents jar packs, practical.
- 2022-02-21 14:21:07下载
- 积分:1
-
JDBC示例
JDBC Sample
- 2022-03-11 08:04:17下载
- 积分:1
-
本人最近在为某统计局开发项目时,涉及到在网页上动态生成图片的问题,费了一天的时间,终于搞定,为帮助大家在以后遇到同样的问题时不走弯路,现将设计思想及源代码公布出...
本人最近在为某统计局开发项目时,涉及到在网页上动态生成图片的问题,费了一天的时间,终于搞定,为帮助大家在以后遇到同样的问题时不走弯路,现将设计思想及源代码公布出来,与大家共勉。以下代码在Windows2000成功测试通过,Web应用服务器采用Allaire公司的Jrun3.0。-I recently Statistics for the development of a project that involves the website dynamically generated pictures, charges the day time, and finally get to help you in the future encountered the same problem without detours, now design and source code announced, we shall. The following code in Windows 2000 through successfully tested, Web Application Server using Allaire"s Jrun3.0.
- 2022-10-29 01:20:03下载
- 积分:1
-
《Java语言与面向对象程序设计》源代码
《Java语言与面向对象程序设计》源代码-" Java language and object-oriented programming" source code
- 2022-11-09 21:40:03下载
- 积分:1