Revision 63
org.gvsig.educa.thematicmap/trunk/org.gvsig.educa.thematicmap/org.gvsig.educa.thematicmap.swing/org.gvsig.educa.thematicmap.swing.impl/src/main/java/org/gvsig/educa/thematicmap/swing/impl/editor/DefaultThematicMapCompilationEditor.java | ||
---|---|---|
22 | 22 |
package org.gvsig.educa.thematicmap.swing.impl.editor; |
23 | 23 |
|
24 | 24 |
import java.awt.BorderLayout; |
25 |
import java.awt.image.BufferedImage;
|
|
25 |
import java.net.URL;
|
|
26 | 26 |
import java.util.ArrayList; |
27 | 27 |
import java.util.List; |
28 | 28 |
|
29 |
import javax.swing.BorderFactory; |
|
29 | 30 |
import javax.swing.ImageIcon; |
30 | 31 |
import javax.swing.JComponent; |
31 | 32 |
import javax.swing.JPanel; |
... | ... | |
129 | 130 |
if (initialized) { |
130 | 131 |
return; |
131 | 132 |
} |
132 |
// TODO Add a logo |
|
133 |
BufferedImage image = |
|
134 |
new BufferedImage(250, 400, BufferedImage.TYPE_INT_ARGB); |
|
135 |
wizard = new WizardPanelWithLogo(new ImageIcon(image)); |
|
133 |
setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); |
|
136 | 134 |
|
135 |
URL iconURL = |
|
136 |
getClass().getClassLoader().getResource( |
|
137 |
"images/thematicmap-editor.png"); |
|
138 |
ImageIcon icon = new ImageIcon(iconURL); |
|
139 |
|
|
140 |
wizard = new WizardPanelWithLogo(icon); |
|
141 |
|
|
137 | 142 |
stepIdentification = new StepIdentification(this, allowChangeId); |
138 | 143 |
stepValidation = new StepValidation(this); |
139 | 144 |
|
Also available in: Unified diff