/*
MoveTo2Panel
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 MoveTo2Panel extends WizardPanel {
public MoveTo2Panel (PropertyList properties) {
super (properties);
setLayout ( new BorderLayout () );
add ( new JLabel ( "got to MoveTo2Panel" ), BorderLayout. CENTER );
}
/**
* Enter the panel.
*
* Do not call this method; only the wizard should call it.
*/
public void enter()
{
if ( ask ( "Jump to MoveTo1Panel?" ) )
{
showPanel ( "MoveTo1Panel" );
}
}
public String getName ()
{
// the name does *not* have to match the classname
return "MoveTo2Panel";
}
JLabel myLabel;
}