...
| Code Block |
|---|
16_zoom_pan=/my/project/icon/bat.png 16_mapcontext_enable=/my/project/icon/openegg.png 16_mapcontext_disable=/my/project/icon/egg.png 16_style=/my/project/icon/balloons.png ... |
- You can find the keys in the default file :
org.geotools.gui.swing.icon.defaultset.properties - You don't have to replace all keys, if a key if missing in your list the
IconBundle class will go find it in the default icon set. - To add icons just add your own keys in the file, the IconBundle class
will handle them for you.
Once the file is ready, load it once at startup in the IconBundle :
...