Mercurial > hg > RemoteEditor > REPSessionManager
view 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 source
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); } }