Revision 38564 branches/v2_0_0_prep/extensions/extI18n/src/main/java/org/gvsig/i18n/extension/preferences/I18nPreferencePage.java
I18nPreferencePage.java | ||
---|---|---|
55 | 55 |
import javax.swing.filechooser.FileFilter; |
56 | 56 |
import javax.swing.table.TableColumn; |
57 | 57 |
|
58 |
import org.gvsig.andami.PluginServices; |
|
58 | 59 |
import org.gvsig.andami.preferences.AbstractPreferencePage; |
59 | 60 |
import org.gvsig.andami.preferences.StoreException; |
60 | 61 |
import org.gvsig.gui.beans.swing.JButton; |
... | ... | |
104 | 105 |
*/ |
105 | 106 |
public I18nPreferencePage() { |
106 | 107 |
setParentID("org.gvsig.coreplugin.preferences.general.GeneralPage"); |
107 |
icon = new ImageIcon(this.getClass().getClassLoader().getResource( |
|
108 |
"images/babel.png"));
|
|
108 |
|
|
109 |
icon = PluginServices.getIconTheme().get("i18n-preferences");
|
|
109 | 110 |
|
110 |
setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); |
|
111 |
|
|
112 | 111 |
add(getLocalesPanel()); |
113 | 112 |
add(Box.createRigidArea(new Dimension(0, 5))); |
114 | 113 |
add(getActiveLocaleLabel()); |
Also available in: Unified diff