Mercurial > hg > RemoteEditor > REPSessionManager
comparison test/editortest/TestSimpleEditor.java @ 417:267f9748e826
(no commit message)
author | one |
---|---|
date | Wed, 31 Dec 2008 14:52:45 +0900 |
parents | |
children | 7ff127c8ad64 |
comparison
equal
deleted
inserted
replaced
416:b7f42fc75a36 | 417:267f9748e826 |
---|---|
1 package test.editortest; | |
2 | |
3 import java.io.IOException; | |
4 | |
5 import test.AutoSelectManager; | |
6 | |
7 public class TestSimpleEditor { | |
8 | |
9 /** | |
10 * @param args | |
11 * @throws IOException | |
12 * @throws InterruptedException | |
13 */ | |
14 public static void main(final String[] args) throws InterruptedException, IOException { | |
15 | |
16 Runnable runnable = new Runnable(){ | |
17 public void run(){ | |
18 try { | |
19 AutoSelectManager.main(args); | |
20 } catch (InterruptedException e) { | |
21 e.printStackTrace(); | |
22 } catch (IOException e) { | |
23 e.printStackTrace(); | |
24 } | |
25 } | |
26 }; | |
27 | |
28 Thread thread = new Thread(runnable); | |
29 thread.start(); | |
30 | |
31 SimpleEditorForREPEditor editor1 = new SimpleEditorForREPEditor("test1"); | |
32 editor1.setVisible(true); | |
33 | |
34 SimpleEditorForREPEditor editor2 = new SimpleEditorForREPEditor("test2"); | |
35 editor2.setVisible(true); | |
36 | |
37 SimpleEditorForREPEditor editor3 = new SimpleEditorForREPEditor("test3"); | |
38 editor3.setVisible(true); | |
39 } | |
40 | |
41 } |