/Users/lyon/j4p/src/graphics/raytracers/rmiRaytracer/raytracer/RayFrame.java

1    package graphics.raytracers.rmiRaytracer.raytracer; 
2     
3    import java.awt.*; 
4     
5    class RayFrame extends ip.gui.frames.ClosableFrame { 
6        RayFrame(Dimension d, int size) { 
7            setLayout(new BorderLayout()); 
8            add(new ImageCanvas(d, size), 
9                    BorderLayout.CENTER); 
10           setSize(d.height - d.width, size); 
11           show(); 
12       } 
13   }