Re: Help with LayerAddPanel

From: Donald Dietrick <dietrick@bbn.com>
Date: Thu Dec 06 2001 - 22:09:14 EST

Hi Jeremy,

Do you have a stack trace or something? I'm not sure why it wouldn't
find the ColorPropertyEditor class if you are not having a class path
problem.

Your PropertyHandler creation looks OK. You might want to keep a handle
to it and print out it's properties after you think it's loaded, to see
if it contains what you think it does. Look for the
openmap.addableLayers property.

- Don

On Thursday, December 6, 2001, at 10:09 AM, Jeremy Zacker wrote:

> I am having trouble getting Rpf data displaying on my Openmap
> Application.
> It works frin with the app provided in com.bbn.openmap.app.OpenMap.
> Since it
> works fine there, I tried to open a LayerAddPanel within my own
> application.
> The LayerAddPanel opened fine and displayed all the right options, but
> when I click 'Configure',
> I get the following error:
>
> java.lang.ClassNotFoundException:
> com.bbn.openmap.util.propertyEditor.ColorPropertyEditor
>
> I am probably not setting up my PropertyHandler correct or something.
> I'm sure
> my class path is OK, because everything else runs well. Here's a
> snippet of my code...
>
> LayerHandler layerHandler = new LayerHandler();
> handler.addLayerListener(mapBean);
> LayerAddPanel layerAddPanel =
> new LayerAddPanel(new
> PropertyHandler("c:\\openmap-4.4.2/openmap.properties"),
> layerHandler);
> layerAddPanel.createPanel();
> layerAddPanel.showPanel();
>
> any help would be appreciated.
>
>
> --
> Jeremy "Slacker" Zacker - "BLAH!"
> MCS Blk IV
> (732) 450-7066
>
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Donald Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Dec 6 22:06:47 2001

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT