Mercurial > hg > RemoteEditor > REPSessionManager
diff test/editortest/TestSimpleEditor.java @ 417:267f9748e826
(no commit message)
author | one |
---|---|
date | Wed, 31 Dec 2008 14:52:45 +0900 |
parents | |
children | 7ff127c8ad64 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/editortest/TestSimpleEditor.java Wed Dec 31 14:52:45 2008 +0900 @@ -0,0 +1,41 @@ +package test.editortest; + +import java.io.IOException; + +import test.AutoSelectManager; + +public class TestSimpleEditor { + + /** + * @param args + * @throws IOException + * @throws InterruptedException + */ + public static void main(final String[] args) throws InterruptedException, IOException { + + Runnable runnable = new Runnable(){ + public void run(){ + try { + AutoSelectManager.main(args); + } catch (InterruptedException e) { + e.printStackTrace(); + } catch (IOException e) { + e.printStackTrace(); + } + } + }; + + Thread thread = new Thread(runnable); + thread.start(); + + SimpleEditorForREPEditor editor1 = new SimpleEditorForREPEditor("test1"); + editor1.setVisible(true); + + SimpleEditorForREPEditor editor2 = new SimpleEditorForREPEditor("test2"); + editor2.setVisible(true); + + SimpleEditorForREPEditor editor3 = new SimpleEditorForREPEditor("test3"); + editor3.setVisible(true); + } + +}