/*
    Change the background color of the installer's panels

    Notes:
     1. This sample is supplied as an example of how you can force
        your installer to use a particular background color. If you use this
        class, you can not simultaneously use the Custom look and feel.
     2. You should adjust the source to use your color.
     3. This class should be entered in the "Before the Welcome" field  
        on the Custom panel.
     4. You are welcome to adapt this class to meet your needs as long as you 
        only use it with the JExpress product

    Copyright (C) 1998-2008 DeNova
    All rights reserved worldwide.
*/


import java.awt.Color;
import com.denova.ui.WizardPanel;
import com.denova.util.PropertyList;
import com.denova.JExpress.Installer.CustomInstaller;


public class ChangeBackground extends WizardPanel {

    public ChangeBackground (PropertyList properties)
    {
        // initialize WizardPanel superclass
        super (properties);
        
        CustomInstaller. setPanelsBackground ( Color. blue );
    }

    /** 
     * Enter the panel. 
     *
     * Do not call this method; only the wizard should call it.
     */
    public void enter()
    {
		// we've already changed the background color
        // in the constructor so just move them to the next panel.
		showNextPanel ();
    }
}  // ChangeBackground

