Mercurial > hg > Members > tatsuki > Alice
diff src/alice/test/topology/fishmodel/alpha/MakeFrame.java @ 132:1044a79ce4ef working
delete cs from OutputCodeSegment
author | sugi |
---|---|
date | Tue, 14 Aug 2012 19:43:10 +0900 |
parents | 117dad267a9b |
children |
line wrap: on
line diff
--- a/src/alice/test/topology/fishmodel/alpha/MakeFrame.java Tue Aug 14 12:55:28 2012 +0900 +++ b/src/alice/test/topology/fishmodel/alpha/MakeFrame.java Tue Aug 14 19:43:10 2012 +0900 @@ -28,7 +28,6 @@ int fSizeY = 800; private Canvas3D canvas; private SimpleUniverse universe; - private KeyInput key; private KeyInputCodeSegment kics; public MakeFrame(String str){ @@ -48,10 +47,7 @@ universe = new SimpleUniverse(canvas); universe.addBranchGraph(createLight()); universe.addBranchGraph(setBackground()); - /* - key = new KeyInput(); - canvas.addKeyListener(key); - */ + kics = new KeyInputCodeSegment(); canvas.addKeyListener(kics); frame.setVisible(true); @@ -103,10 +99,6 @@ return this.canvas; } - public KeyInput getKey(){ - return this.key; - } - public KeyInputCodeSegment getKeySegment(){ return this.kics; }