Revision 33716 branches/v2_0_0_prep/libraries/libUIComponent/src/org/gvsig/gui/beans/wizard/WizardPanelWithLogo.java

View differences:

WizardPanelWithLogo.java
33 33
	private void init() {
34 34
		JPanel logoPanel = new JPanel();
35 35

  
36
		String fileString;
37
		if (logo.toString().indexOf("file:") < 0 &&
38
				logo.toString().indexOf("http:") < 0) {
39
			fileString = "file:///" +System.getProperty("user.dir") +"/"
40
			+logo.toString();
41
			fileString = fileString.replaceAll("\\\\", "/");
42
		} else {
43
			fileString = logo.toString();
44
		}
45 36
		logoPanel.add(new JLabel(logo));
46 37
		logoPanel.setBackground(Color.WHITE);
47 38
		this.setLayout(new BorderLayout());

Also available in: Unified diff