/Users/lyon/j4p/src/net/scp/ScpMediator.java

1    package net.scp; 
2     
3    import net.scp.ScpModel; 
4    import net.scp.ScpDialog; 
5     
6    /** 
7     * Copyright DocJava, inc. User: lyon 
8     * <p/> 
9     * Date: Dec 13, 2004 
10    * <p/> 
11    * Time: 8:09:46 AM 
12    */ 
13   public class ScpMediator { 
14       ScpDialog sd = new ScpDialog(); 
15       ScpModel sm = new ScpModel(); 
16       public ScpMediator() { 
17           sd.addScpChangeEventListener(sm); 
18           sd.pack(); 
19           sd.show(); 
20       } 
21       public static void main(String[] args) { 
22           new ScpMediator(); 
23       } 
24   } 
25