/Users/lyon/j4p/src/j2d/gui/Utils.java

1    /** 
2     * 
3     * User: dlyon 
4     * Date: Mar 2, 2004 
5     * Time: 1:23:33 PM 
6     * 
7     */ 
8    package j2d.gui; 
9    public class Utils { 
10       public static void negate(MDIDesktopPane deskTop1) { 
11           ImageChildFrame icf; 
12    
13           try { 
14               icf = (ImageChildFrame) 
15                       deskTop1.getTopmostFrame( 
16                               ImageChildFrame.class); 
17               icf.negate(); 
18           } catch (Exception e) { 
19               // do nothing 
20           } 
21       } 
22   } 
23