Re: [OpenMap Users] How to use milstd2525b package

From: Don Dietrick <dietrick_at_bbn.com>
Date: Fri, 25 Feb 2005 09:56:49 -0500

Try this:

         SymbolReferenceLibrary srl = new SymbolReferenceLibrary();
          
srl.setSymbolImageMaker("com.bbn.openmap.tools.symbology.milStd2525.PNGS
ymbolImageMaker");

         SymbolChooser.showDialog(null, "Symbol Chooser", srl, null);


The GIFSymbolImageMaker won't work without .gif files, the
milStd2525_png.jar file only contains pngs.

Make sure you set the Affiliation and Status settings, the icons don't
exist for the codes where those are unspecified.

- Don



On Feb 25, 2005, at 9:23 AM, Andrew Schulak wrote:

> Properties p = new Properties();
>
> p.setProperty("class","com.bbn.openmap.tools.symbology.milStd2525.Symbo
> lReferenceLibrary");
>
> p.setProperty("imageMakerClass","com.bbn.openmap.tools.symbology.milStd
> 2525.GIFSymbolImageMaker");
> SymbolReferenceLibrary srl = new SymbolReferenceLibrary();
> srl.setProperties(p);
> SymbolChooser.showDialog(null,"Symbol Chooser",srl,null);


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Feb 25 2005 - 09:57:42 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT