-
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与COM通信的中间接口,用于在JAVA程序中调用com
JAVA与COM通信的中间接口,用于在JAVA程序中调用com-JAVA COM bright
- 2022-02-01 13:04:05下载
- 积分:1
-
学习
一些Java最基础的程序,java初学者可以多看看或许有好处的-learing
- 2022-04-19 04:42:39下载
- 积分:1
-
一个关于JTree的例子
一个关于JTree的例子-an example of JTree
- 2022-10-28 09:15:03下载
- 积分:1
-
一个银行数据中心网站,采用JSP编程,B/S结构,菜单使用梅花树,...
一个银行数据中心网站,采用JSP编程,B/S结构,菜单使用梅花树,-A bank data center site, using JSP Programming, B/S structure, the use of plum blossom menu tree,
- 2022-02-05 11:52:47下载
- 积分:1
-
阿房投票问卷管理系统 1)管理员登陆帐号和密码都是admin。 2)数据库连接方式是使用JDBC For SQL Server驱动。用户使用时要修改openda...
阿房投票问卷管理系统 1)管理员登陆帐号和密码都是admin。 2)数据库连接方式是使用JDBC For SQL Server驱动。用户使用时要修改opendata.jsp文件,修改SQL Server登陆用户名和密码。 3)目前的数据库连接、访问、修改都是通过页面完成,效率不是太高,在新版本中将使用JavaBeans实现。 4)新版本将添加如下功能:管理员权限设置、投票主题发布可选择单选或多选、投票者留言反馈等。-Awa vote a questionnaire Management System) administrator landing account and password are admin. 2) The database connection is to use SQL Server For JDBC driver. When users opendata.jsp document to amend, modify SQL Server username and password. 3) the current database connections, access, modify through the pages are completed, efficiency is not high, the new version will use JavaBeans achieve. 4) The new version will add the following functions : administrator settings, the option to vote theme release danxuan or election, voters voice feedback.
- 2022-08-07 19:38:39下载
- 积分:1
-
变换的图形很好玩的
变换的图形很好玩的-transform the graphics is a lot of fun
- 2022-12-27 14:15:02下载
- 积分:1
-
jsp+ jdbc practical message management system, including documentation and sourc...
jsp+jdbc实用的留言管理系统,包括文档说明和源码部分,初学都不错的资料-jsp+ jdbc practical message management system, including documentation and source of good beginner information
- 2022-03-20 19:26:28下载
- 积分:1
-
Java语言SQL接口 JDBCprogram
Java语言SQL接口 JDBCprogram-Java SQL interface JDBCprogram
- 2023-03-14 07:55:04下载
- 积分:1
-
This is source rmi with java
This is source rmi with java
- 2022-02-05 08:30:14下载
- 积分:1