Re: [OpenMap Users] How to use milstd2525b package

From: Don Dietrick <dietrick_at_bbn.com>
Date: Wed, 2 Mar 2005 10:05:36 -0500

On Mar 2, 2005, at 9:48 AM, Ümit Demir wrote:

> Hi,
>
> I used the milstd package and drawed the symbols.It was OK.
> But SymbolChooser class had something wrong. I could not get icon
> drawned on
> the symbolchooser panel, even if I created the right symbol code. Did
> anyone
> introduced something like this?

If you can get the symbol drawn, the symbol chooser should also draw
it. How did you draw the symbols originally, and how was that
different when you used the SymbolChooser? Did you give the
SymbolChooser the same SymbolReferenceLibrary object that successfully
created the symbol, or was the problem in a different application.

> I also tried to draw more than 1000 symbol at the sometime, the
> performance
> was poor. Do you have any comment on the performance of milstd2525b
> package?

Not really, since I have no idea on how you are trying to use it, or
what you consider to be poor performance.

- Don

> ----- Original Message -----
> From: "Don Dietrick" <dietrick_at_bbn.com>
> To: "Andrew Schulak" <aschulak_at_gestalt-llc.com>
> Cc: "Ümit Demir" <udemir_at_aselsan.com.tr>; <openmap-users_at_bbn.com>
> Sent: Friday, February 25, 2005 4:56 PM
> Subject: Re: [OpenMap Users] How to use milstd2525b package
>
>
>> Try this:
>>
>> SymbolReferenceLibrary srl = new SymbolReferenceLibrary();
>>
>> srl.setSymbolImageMaker("com.bbn.openmap.tools.symbology.milStd2525.PN
>> GS
>> 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.Sym
>>> bo
>>> lReferenceLibrary");
>>>
>>> p.setProperty("imageMakerClass","com.bbn.openmap.tools.symbology.milS
>>> td
>>> 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
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>
>
> ######################################################################
> Dikkat:
>
> Bu elektronik posta mesaji kisisel ve ozeldir. Eger size
> gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.
> Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte,
> guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki
> gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi
> gorusu olmak zorunda degildir.
>
> ######################################################################
> Attention:
>
> This e-mail message is privileged and confidential. If you are
> not the intended recipient please delete the message and notify
> the sender. E-mails to and from the company are monitored for
> operational reasons and in accordance with lawful business practices.
> Any views or opinions presented are solely those of the author and
> do not necessarily represent the views of the company.
>
> ######################################################################
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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 Wed Mar 02 2005 - 10:06:29 EST

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