Revision 38564 branches/v2_0_0_prep/libraries/libCorePlugin/src/org/gvsig/coreplugin/NotificationDialogNew.java
NotificationDialogNew.java | ||
---|---|---|
8 | 8 |
import java.awt.LayoutManager; |
9 | 9 |
import java.awt.event.ActionEvent; |
10 | 10 |
import java.awt.event.ActionListener; |
11 |
import java.net.URL; |
|
12 | 11 |
|
13 | 12 |
import javax.swing.BorderFactory; |
14 |
import javax.swing.ImageIcon; |
|
15 | 13 |
import javax.swing.JButton; |
16 | 14 |
import javax.swing.JComponent; |
17 | 15 |
import javax.swing.JLabel; |
... | ... | |
22 | 20 |
import javax.swing.border.Border; |
23 | 21 |
import javax.swing.border.TitledBorder; |
24 | 22 |
|
23 |
import org.gvsig.andami.IconThemeHelper; |
|
25 | 24 |
import org.gvsig.andami.PluginServices; |
26 | 25 |
import org.gvsig.andami.messages.MessageEvent; |
27 | 26 |
import org.gvsig.andami.messages.NotificationListener; |
... | ... | |
114 | 113 |
this.setBorder(border); |
115 | 114 |
|
116 | 115 |
this.image = new JLabel(); |
117 |
URL stopurl = this.getClass().getClassLoader().getResource("images/stop.png"); |
|
118 |
this.image.setIcon(new ImageIcon(stopurl)); |
|
116 |
this.image.setIcon(IconThemeHelper.getImageIcon("show-console") ); |
|
119 | 117 |
addComppnent(this, this.image, 0, 0, 1, 1, 0, 0, |
120 | 118 |
GridBagConstraints.NONE, GridBagConstraints.CENTER); |
121 | 119 |
|
Also available in: Unified diff