Revision 19520 tags/J2ME_compat_v1_2_Build_1209/frameworks/_fwAndami/src/com/iver/andami/iconthemes/IconThemeDir.java
IconThemeDir.java | ||
---|---|---|
27 | 27 |
* Allows load a icon when this is inside in a directoyr. IconName is the name or |
28 | 28 |
* key of the icon and "resource" is the URL or the icon |
29 | 29 |
*/ |
30 |
@Override |
|
30 |
// @Override
|
|
31 | 31 |
protected ImageIcon loadIcon(String iconName,Object resource) { |
32 | 32 |
if (resource instanceof URL) { |
33 | 33 |
// ok, we got an imagePath, let's see if it's valid |
... | ... | |
51 | 51 |
/** |
52 | 52 |
* Allows to load all icons in the directory. |
53 | 53 |
*/ |
54 |
@Override |
|
54 |
// @Override
|
|
55 | 55 |
public void load() { |
56 | 56 |
if (getResource() instanceof File) { |
57 | 57 |
File basedir = (File) getResource(); |
Also available in: Unified diff