/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package wizard; import javax.swing.JPanel; /** * A superclass for all of the wizard install panels. Ensures the necessary * functions are available for determining what action needs to be taken when * the next button is clicked in the installation wizard. ** * @author alvare */ public abstract class WizardPanel extends JPanel { /** * This method is used to determine whether the wizard will be finished * after this step (panel) - i.e. whether to display the "Next" or "Finish" * buttons on the current wizard panel. ** * @return whether the current panel is the last panel in the wizard (considering the currently selected options) */ public abstract boolean isFinished(); /** * This method checks for errors in the current install wizard panel ** * @return true if there are no errors in the current panel */ public abstract boolean errorCheck(); }