[OSM-talk] mappaint questions

Kristian Thy thy at 42.dk
Sun Jan 7 00:48:37 GMT 2007


On Sat, Jan 06, Nick Whitelegg wrote:
> Icons are compiled into the JAR file. You need to get the source distribution 
> of mappaint, place the icon in the images directory within the mappaint 
> plugin source directory, and build the JAR file.  Alternatively send me the 
> icon and I can add it to the distributed version of the source.

I had been meaning to look into this myself, but haven't had the time -
doesn't getResource() look both in the JAR file, and if it's not there,
in something resembling the same path in the local filesystem? If so, it
should be possible to add one's own pictures without recompiling the
plugin - if we can just figure out exactly where it's looking :)

\\kristian
-- 
Cthulhu.call();




More information about the talk mailing list