view src/sample/merge/TestTranslate3.java @ 58:0eaf3f3ecadb

*** empty log message ***
author pin
date Wed, 25 Jul 2007 14:49:02 +0900
parents
children
line wrap: on
line source

package sample.merge;

public class TestTranslate3 {
	public static void main(String[] args){
		EditorTmp editorA = new EditorTmp("editorA");
		Thread thA = new Thread(editorA);
		thA.start();

		EditorTmp editorB = new EditorTmp("editorB");
		Thread thB = new Thread(editorB);
		thB.start();
	}
}

class EditorTmp implements Runnable{
	private String editorName;

	public EditorTmp(String string) {
		editorName = string;
	}

	public void run() {
		System.out.println(editorName);
	}
}