/* * Filename: WizardViewerJPanel.java * * Author: Raf Van de Plas * * Contact: * Snail-mail: K.U.Leuven * ESAT-SCD * Kasteelpark Arenberg 10 * B-3001 Leuven-Heverlee * Belgium * Tel: +32 16 327927 * Fax: +32 16 321970 * Gsm: +32 474 243046 * E-mail: raf.vandeplas@esat.kuleuven.ac.be * WWW: http://www.esat.kuleuven.ac.be/~dna/BioI/ * * * Created on: Dec 8, 2003 * * Changed on: Dec 8, 2003 * * Version: 0.1 * * Description: * none * */ import javax.swing.*; /** * @author rvdplas * * To change the template for this generated type comment go to * Window - Preferences - Java - Code Generation - Code and Comments */ public class WizardViewerJPanel extends JPanel implements WizardViewerInterface { public WizardViewerJPanel() { super(); this.add(new JLabel("WizardViewerJPanel")); } public void actOnTheGivenObject(ValidatingInterface obj) { if(obj instanceof JPanel) { this.add((JPanel) obj); } } }