Mercurial > hg > Database > Alice
diff src/main/java/alice/test/topology/aquarium/MakeFrame.java @ 467:6e304a7a60e7 dispose
remove white space
author | sugi |
---|---|
date | Sat, 22 Nov 2014 12:08:24 +0900 |
parents | aefbe41fcf12 |
children |
line wrap: on
line diff
--- a/src/main/java/alice/test/topology/aquarium/MakeFrame.java Sat Nov 15 04:48:35 2014 +0900 +++ b/src/main/java/alice/test/topology/aquarium/MakeFrame.java Sat Nov 22 12:08:24 2014 +0900 @@ -30,7 +30,7 @@ private ObjectList list = new ObjectList(); public MakeFrame(String str,float x) { - System.loadLibrary("jawt"); + System.loadLibrary("jawt"); frame = new JFrame(str); frame.setSize(F_SIZE_X, F_SIZE_Y); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); @@ -65,7 +65,7 @@ } catch (IOException e) { e.printStackTrace(); } - ImageComponent2D image = + ImageComponent2D image = new ImageComponent2D(ImageComponent2D.FORMAT_RGBA8,img); Background background = new Background(image); background.setImageScaleMode(Background.SCALE_FIT_ALL);