/*
 * $Id$
 *
 * Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
 * Santa Clara, California 95054, U.S.A. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */

package org.jdesktop.swingx.plaf;

import java.awt.Component;
import java.awt.Dimension;

import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JInternalFrame;
import javax.swing.plaf.PanelUI;

/**
 *
 * @author rbair
 */
public abstract class ErrorPaneUI extends PanelUI {
    public abstract JFrame getErrorFrame(Component owner);
    public abstract JDialog getErrorDialog(Component owner);
    public abstract JInternalFrame getErrorInternalFrame(Component owner);
    public abstract Dimension calculatePreferredSize();
}

@@ -1099,16 +1099,62 @@
 %0A%0A/**%0A *
+ The ComponentUI for a JXErrorPane.%0A * %3Cp%3E%0A * 
 %0A * @aut
@@ -1227,198 +1227,1053 @@
     
-public abstract JFrame getErrorFrame(Component owner);%0A    public abstract JDialog getErrorDialog(Component owner);%0A    public abstract JInternalFrame getErrorInternalFrame(Component owner);
+/**%0A     * Creates new ErrorPane wrapped in the frame window centered at provided owner component. %0A     * @param owner component to center created error frame at.%0A     * @return New ErrorPane instance wrapped in JFrame.%0A     */%0A    public abstract JFrame getErrorFrame(Component owner);%0A    %0A    /**%0A     * Creates new ErrorPane wrapped in the dialog window centered at provided owner component. %0A     * @param owner component to center created error dialog at.%0A     * @return New ErrorPane instance wrapped in JDialog.%0A     */%0A    public abstract JDialog getErrorDialog(Component owner);%0A    %0A    /**%0A     * Creates new ErrorPane wrapped in the internal frame window centered at provided owner component. %0A     * @param owner component to center created error frame at.%0A     * @return New ErrorPane instance wrapped in JInternalFrame.%0A     */%0A    public abstract JInternalFrame getErrorInternalFrame(Component owner);%0A    /**%0A     * Calculates default prefered size for JXErrorPane on given platform/LAF.%0A     * @return Preferred size.%0A     */
 %0A   

Javadoc.