Revision 33723

View differences:

branches/v2_0_0_prep/extensions/org.gvsig.installer/org.gvsig.installer.swing/org.gvsig.installer.swing.impl/src/main/java/org/gvsig/installer/swing/impl/execution/DefaultInstallPackageWizard.java
29 29

  
30 30
import java.awt.BorderLayout;
31 31
import java.io.File;
32
import java.net.URL;
32 33
import java.util.ArrayList;
33 34
import java.util.List;
34 35

  
......
36 37

  
37 38
import jwizardcomponent.DefaultJWizardComponents;
38 39

  
39
import org.slf4j.Logger;
40
import org.slf4j.LoggerFactory;
41

  
42 40
import org.gvsig.gui.beans.wizard.WizardPanel;
43 41
import org.gvsig.gui.beans.wizard.WizardPanelActionListener;
44 42
import org.gvsig.gui.beans.wizard.WizardPanelWithLogo;
......
57 55
 * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
58 56
 */
59 57
public class DefaultInstallPackageWizard extends InstallPackageWizard implements WizardPanel{
60
	private WizardPanelWithLogo wizardPanelWithLogo = null;
58

  
59
    private static final long serialVersionUID = 554068938842141497L;
60
    private WizardPanelWithLogo wizardPanelWithLogo = null;
61 61
	private InstallPackageService installerExecutionService = null;	
62
	private static final Logger logger = LoggerFactory.getLogger(DefaultInstallPackageWizard.class);
63 62
	private List<PackageInfo> installersToInstall = null;	
64 63
			
65 64
	//Wizards
......
72 71
	public DefaultInstallPackageWizard(File applicationDirectory) throws InstallPackageServiceException
73 72
	{
74 73
		super(applicationDirectory);
75
		wizardPanelWithLogo = new WizardPanelWithLogo(new ImageIcon(getClass().getClassLoader().getResource("images/makepluginpackageicon.png").getFile()));		
74
        URL iconURL =
75
            getClass().getClassLoader().getResource(
76
                "images/installpackageicon.png");
77
        ImageIcon icon = new ImageIcon(iconURL);
78
        wizardPanelWithLogo = new WizardPanelWithLogo(icon);
76 79
		
77 80
		selectInstallersWizard = new SelectBundlesWizard(this);
78 81
		selectPluginsWizard = new SelectPackagesWizard(this);
branches/v2_0_0_prep/extensions/org.gvsig.installer/org.gvsig.installer.swing/org.gvsig.installer.swing.impl/src/main/java/org/gvsig/installer/swing/impl/creation/DefaultMakePluginPackageWizard.java
30 30
import java.awt.BorderLayout;
31 31
import java.io.File;
32 32
import java.io.OutputStream;
33
import java.net.URL;
33 34

  
34 35
import javax.swing.ImageIcon;
35 36

  
......
57 58
 * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
58 59
 */
59 60
public class DefaultMakePluginPackageWizard extends MakePluginPackageWizard implements WizardPanel{
60
	private WizardPanelWithLogo wizardPanelWithLogo = null;
61

  
62
    private static final long serialVersionUID = 9205891710214122265L;
63
    private WizardPanelWithLogo wizardPanelWithLogo = null;
61 64
	private MakePluginPackageService makePluginPackageService = null;
62 65
	private OutputStream outputStream = null;
63 66
	private File pluginsDirectory = null;
......
78 81
        throws LocatorException, MakePluginPackageServiceException
79 82
	{		
80 83
        super(applicationDirectory);
81
		wizardPanelWithLogo = new WizardPanelWithLogo(new ImageIcon(getClass().getClassLoader().getResource("images/installpackageicon.png").getFile()));	
84
        URL iconURL =
85
            getClass().getClassLoader().getResource(
86
                "images/makepluginpackageicon.png");
87
        ImageIcon icon = new ImageIcon(iconURL);
88
        wizardPanelWithLogo = new WizardPanelWithLogo(icon);
82 89

  
83 90
		advancedModeSelectionWizard = new AdvancedModeSelectionWizard(this);
84 91
		antScriptWizard = new AntScriptWizard(this);

Also available in: Unified diff