-
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
-
主要是介绍eclipse的安装与及其的使用
主要是介绍eclipse的安装与及其的使用-Is introduced and the eclipse of the installation and use of
- 2022-10-26 05:00:03下载
- 积分:1
-
一个手机能实时监控视频录像的源码,希望对开发人员有帮助.
一个手机能实时监控视频录像的源码,希望对开发人员有帮助.-A cell phone video in real-time monitoring of the source code, developers would like to have help.
- 2022-07-13 17:51:14下载
- 积分:1
-
spring学习笔记
对Spring耳闻已久,但一直没有时间和心情去看它,最近它的声音是越来越大了,Java视线http://forum.javaeye.c...
spring学习笔记
对Spring耳闻已久,但一直没有时间和心情去看它,最近它的声音是越来越大了,Java视线http://forum.javaeye.com/有不高手在谈论它。于是趁着有空闲时间,我也花了两个晚上看了看Spring,看的是夏昕的http://www.qsdn.net/document/SpringGuide.pdf,文章写得不错。以下谈谈我的学习感受 -spring study notes right in her long Spring, But it has not had the time or the mood to look at it, most recently its voice is a growing, Java sight http :// forum.javaeye.com/are not experts in to talk about it. So take advantage of spare time, I also spent two nights watched to see Spring, summer read is the Xin http :// www.qsdn.net/document/SpringGuide.pdf. well-written articles. Following learning about my feelings
- 2022-01-25 19:44:01下载
- 积分:1
-
a database procedures
一个数据库的程序-a database procedures
- 2022-03-07 15:01:07下载
- 积分:1
-
关于JAVA邮件开发的源代码...很有参考价值的源代码,值得学习...
关于JAVA邮件开发的源代码...很有参考价值的源代码,值得学习-E-mail on the JAVA source code to develop ... a good reference source code, it is worth learning
- 2022-08-09 16:45:42下载
- 积分:1
-
一个网上的文本编辑工具源码,jsp实现的,在自己的网站中可以直接使用.效果很好...
一个网上的文本编辑工具源码,jsp实现的,在自己的网站中可以直接使用.效果很好-一蔚谋 嗉?源, jsp 实, 约站 锌 直. 效 芎
- 2022-01-25 20:05:09下载
- 积分:1
-
a simple spell checker for the software, users can choose to use to check the di...
一个用于简单拼写检查的软件,用户可以选择用于检查的字典文件,可以选择待检查的文件,还可以将检查得到的错误信息保存起来。 说明:字典文件第1行为词典的名称,以后每一行存放一个单词。 待检查的文件以物理上的换行为一行。 主要功能:用于英语文本的拼写检查。-a simple spell checker for the software, users can choose to use to check the dictionary file, you can choose to be examined in the paper, you can check the error message store. Note : dictionary document acts of a dictionary of names, each line deposited a word. The document to be examined by physical acts for the party. The main functions : English text for spelling check.
- 2022-06-14 02:29:12下载
- 积分:1
-
进度栏的应用。用timer()组件来控制时间,进度栏模拟活动的进度。...
进度栏的应用。用timer()组件来控制时间,进度栏模拟活动的进度。-progress column applications. Using timer () components to control the time, the progress of the simulation column progress.
- 2022-11-08 09:10:04下载
- 积分:1
-
and database connectivity
和数据库的连接工作-and database connectivity
- 2023-07-10 07:30:03下载
- 积分:1