Code example for DefaultDesktopManager

0
     * @return See above. 
     */ 
    protected DesktopManager getDesktopManager()
    { 
        if (sharedDesktopManager == null)
              sharedDesktopManager = new DefaultDesktopManager();
        return sharedDesktopManager;  
    } 
     
    /** 
     * Creates a new instance. 
     *  
     * @param frame Reference to the {@link TinyPane model}. Mustn't be  
     *              <code>null</code>. 
     */ 
    BorderListener(TinyPane frame)
    { 
        if (frame == null) throw new NullPointerException("No frame.");
        this.frame = frame;
        Container parent = frame.getParent();