Re: [OpenMap Users] Selecting and Editing Graphic from Swing Control.

From: Christopher Franklin <christopher.franklin_at_lmco.com>
Date: Thu, 25 Sep 2008 10:15:57 -0400

Adam,

Are you calling graphic.regenerate(...) on the graphic after you select
it for editing? If not, call that and you may also need to repaint your
bean. It just sounds like that is all you need.

Hope this helps,
Chris

Adam Brightwell wrote:
> Hello,
>
> I am trying to select a graphic for editing via a Swing control.
> Essentially what I have is a simple JTree that has a list of all the
> graphics on a given layer. When I "double-click" the tree node that
> represents a graphic, I want to select that graphic for editing. I
> have got all the logic and listeners figured out and working, it is
> now just the ability to properly select the graphic for editing, in
> particular an OMPoly.
>
> Here is what I am currently experiencing. When I call
> layer.edit(graphic) nothing happens to the graphic, grab points are
> not displayed, etc. However, when I click on the map, they magically
> appear on the graphic I selected to edit.
>
> Any suggestions?
>
> Thanks,
> Adam
>
> --
> [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"]
>


-- 
Christopher Franklin
Contextual Systems Lab
Lockheed Martin Advanced Technology Laboratories
Phone: (856)792-9702
--
[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 Thu Sep 25 2008 - 10:16:13 EDT

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