Revision 15765 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/colortable/ui/ColorTablePanel.java

View differences:

ColorTablePanel.java
340 340
		if (buttonAdd == null) {
341 341
			ImageIcon icon = null;
342 342
			try {
343
				icon = new ImageIcon(getClass().getClassLoader().getResource("images/addlayer.png"));
343
				icon = PluginServices.getIconTheme().get("addlayer-icon");
344 344
			} catch (NullPointerException n) {
345 345
				// No ha encontrado el icono, no lo muestra.
346 346
			}
......
361 361
		if (buttonDel == null) {
362 362
			ImageIcon icon = null;
363 363
			try {
364
				icon = new ImageIcon(getClass().getClassLoader().getResource("images/delall.png"));
364
				icon = PluginServices.getIconTheme().get("delall-icon");
365 365
			} catch (NullPointerException n) {
366 366
				// No ha encontrado el icono, no lo muestra.
367 367
			}
......
381 381
		if (buttonCopy == null) {
382 382
			ImageIcon icon = null;
383 383
			try {
384
				icon = new ImageIcon(getClass().getClassLoader().getResource("images/duplicate_icon.png"));
384
				icon = PluginServices.getIconTheme().get("duplicate-icon");
385 385
			} catch (NullPointerException n) {
386 386
				// No ha encontrado el icono, no lo muestra.
387 387
			}

Also available in: Unified diff