Revision 21224
trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/imagenavigator/ImageNavigator.java | ||
---|---|---|
542 | 542 |
*/ |
543 | 543 |
private ImageIcon getIconClose() { |
544 | 544 |
if (imageIconClose == null) { |
545 |
imageIconClose = new ImageIcon(getClass().getResource("images/close.png"));
|
|
545 |
imageIconClose = new ImageIcon(ImageNavigator.class.getResource("images/close.png"));
|
|
546 | 546 |
} |
547 | 547 |
return imageIconClose; |
548 | 548 |
} |
... | ... | |
553 | 553 |
*/ |
554 | 554 |
private ImageIcon getIconHelp() { |
555 | 555 |
if (imageIconHelp == null) { |
556 |
imageIconHelp = new ImageIcon(getClass().getResource("images/help.png"));
|
|
556 |
imageIconHelp = new ImageIcon(ImageNavigator.class.getResource("images/help.png"));
|
|
557 | 557 |
} |
558 | 558 |
return imageIconHelp; |
559 | 559 |
} |
Also available in: Unified diff