/*
    MoveTo1Panel

    Copyright (C) 1998-2008 DeNova
    
*/


import javax.swing.JLabel;
import java.awt.BorderLayout;
import com.denova.ui.WizardPanel;
import com.denova.util.PropertyList;


public class MoveTo1Panel extends WizardPanel {

    public MoveTo1Panel (PropertyList properties) {

        super (properties);

        setLayout ( new BorderLayout () );

        add ( new JLabel ( "got to MoveTo1Panel" ), BorderLayout. CENTER );
    }

    /** 
     * Enter the panel. 
     *
     * Do not call this method; only the wizard should call it.
     */
     public synchronized void enter()
     {
        if ( ask ( "Jump to MoveTo2Panel?" ) )
        {
            showPanel ( "MoveTo2Panel" );
        }
    }

    public String getName ()
    {
        // the name does *not* have to match the classname
        return "MoveTo1Panel";
    }

    JLabel myLabel;
}