Revision 38638 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/documents/view/legend/gui/VectorialUniqueValue.java
VectorialUniqueValue.java | ||
---|---|---|
59 | 59 |
import javax.swing.JOptionPane; |
60 | 60 |
import javax.swing.JPanel; |
61 | 61 |
|
62 |
import org.gvsig.andami.IconThemeHelper; |
|
62 | 63 |
import org.gvsig.andami.PluginServices; |
63 | 64 |
import org.gvsig.andami.messages.NotificationManager; |
64 | 65 |
import org.gvsig.app.gui.styling.JComboBoxColorScheme; |
... | ... | |
130 | 131 |
* DOCUMENT ME! |
131 | 132 |
*/ |
132 | 133 |
protected void initComponents() { |
133 |
/* JLabel label = new JLabel(); |
|
134 |
label.setIcon(new javax.swing.ImageIcon(Abrir.class.getClassLoader() |
|
135 |
.getResource("images/ValoresUnicos.png"))); |
|
136 |
limagen[1] = new JLabel(); |
|
137 |
limagen[1] = label; */ |
|
138 | 134 |
JPanel pnlButtons = new JPanel(); |
139 | 135 |
|
140 | 136 |
JButton btnAddAll = new JButton(PluginServices.getText(this, |
... | ... | |
758 | 754 |
} |
759 | 755 |
|
760 | 756 |
public ImageIcon getIcon() { |
761 |
return new ImageIcon(this.getClass().getClassLoader().
|
|
762 |
getResource("images/ValoresUnicos.png"));
|
|
757 |
return IconThemeHelper.getImageIcon(
|
|
758 |
"legend-overview-vectorial-unique-value");
|
|
763 | 759 |
} |
764 | 760 |
|
765 | 761 |
public Class getParentClass() { |
Also available in: Unified diff