搜索资源列表
例7.02 实现Runnable接口创建线程
- 实现Runnable接口创建线程,这教有用对初学者-achieve starring interface to create threads that teach useful for beginners
MYProgressMonitorTest
- 利用多线程演示对进度条监视器的使用方法。Swing组件JFrame, java.awt.event.* 包的使用javax.swing.Timer 包 的使用, Runnable使用-use multithreading demonstration of the progress of the use of monitors. Swing JFrame components, java.awt.event .* packages use javax.swing.Timer package so
Account123
- This project does not contain a full, runnable application program. Instead, the only package ope.account contains two classes which represent basic bank customer and account information.-This project does not contain a full, runnable application pro
Football123
- This project does not contain a full, runnable application program. Instead, the only package ope.football contains two classes to represent match data for football (and possibly other team sports).
shiliti
- 这是java实例的书上例题,里面共10章,实现Runnable接口创建线程,发送线程与接收线程,同步的发送线程与接收线程。-java examples of this is the book of excellence, which has 10 chapters, Jacqueline achieve thread interface to create, send and receive threads threads, simultaneously sending and receivin
实现Runnable接口创建线程
- 实现Runnable接口创建线程-achieve starring interface to create threads
j2me
- java的一个源代码,、 public class ThunderBoltAct extends Canvas implements Runnable { private int TIMEOUT = 0 private final static int NUMERIC = 10000 //总分 private final static int INERRGAL = 60 //频率 private final static int MAXBATTLE = 3 //最大
MediaPlayer(java)
- MediaPlayer代码,部分代码,合适请用: import java.awt.* import java.awt.event.* import javax.swing.* import javax.media.* import java.io.* import java.util.* //为了导入Vector //import com.sun.java.swing.plaf.windows.* public class MediaPlayer
threadxiancheng
- * 线程 的运用 创建线程的两种方法:实现Runnable 接口 或 从Thread继承 我们建议使用接口,应为他可以多继承,而 * 直接继承实现,就不能再继承了
javahomework
- java学习的作业 1.runnable和thread的使用区别 2.interf和commo的使用 3.用java实现画图程序
Java_Clock
- java写的简单的时钟程序,界面简洁漂亮,对初学者很有参考价值, 类Clock继承了java.applet.Applet,并实现了Runnable接口-A simple clock program of java,beautiful and concision interface,very useful to the beginners for reference,the class Clock inherit java.applet.Applet,and implement Runnable
x-net
- IOCP(I/O Completion Port,I/O完成端口)是性能最好的一种I/O模型。它是应用程序使用线程池处理异步I/O请求的一种机制。在处理多个并发的异步I/O请求时,以往的模型都是在接收请求是创建一个线程来应答请求。这样就有很多的线程并行地运行在系统中。而这些线程都是可运行的,Windows内核花费大量的时间在进行线程的上下文切换,并没有多少时间花在线程运行上。再加上创建新线程的开销比较大,所以造成了效率的低下。 -IOCP (I/O Completion Port, I/O
DRMPlayer
- public void playerUpdate(final Player p, final String event, final Object eventData) { // queue a call to updateEvent in the user interface event queue Display display = Display.getDisplay(midlet) display.callSerially(new Runnable() {
JAVAgameeluoshifangkuai
- JAVA游戏编程_俄罗斯方块(有图片) 游戏主类,继承自JFrame类,负责游戏的全局控制,包含:1、一个GameCanvas画布类的实例对象, 2、一个保存当前活动块(ErsBlock)实例的对象,3、一个保存当前控制面板(ControlPanel)实例的对象;一轮游戏过程,实现了Runnable接口。-JAVA Programming _ Tetris game (with pictures) game master class, inherited from the JFrame
dla2
- DLA模型——垂直演化 直线干预,public class dla extends Applet implements Runnable-DLA model- the vertical evolution of straight-line intervention, public class dla extends Applet implements Runnable
3D
- 3D手机游戏开发教学 编写一个继承于Canvas类的子类,并且实现Runnable接口,在run方法中绘制屏幕中一个小方块,通过游戏动作键(上下左右)控制方块的移动-3D mobile phone game developers to prepare a succession of teaching in the Canvas sub-class category, and the realization of Runnable interface, in the run method of d
CircleMenu
- public class CircleMenuCanvas extends Canvas implements Runnable{ double pi = Math.PI public final int MENURIGHT = 1 public final int MENULEFT = 0 Image menuImage[] = new Image[6] int []jiaodu = {330,30,90,150,210,270} String m
5
- 接口的运用,如何设置实现Runnable接口的类。Runnable的使用。-Use interface, how to set up the realization of Runnable interface. Runnable use.
ReadWriteFair
- 英国帝国理工学院电脑系多线程课程教学材料之十三 ---- 读取者与写入者范例(读取和写入公平版本)-This version implements a strategy in which a Writer make waiting Readers runnable after it releases the write lock.
Runnable
- Creating threads using runnable interface in java. Includes java and class file.