RE: [OpenMap Users] Problem with Drawing Tool Layer - Possible Bug ?

From: AS/ETO <Geir>
Date: Tue, 13 Feb 2007 08:48:50 +0100


Thanks for the feedback.
I have investigated a bit further and found :

What you state seems to be correct if there are > 1 item in the combo box.
But not with only one item.

When I started debugging the code of OpenMap (4.6.3) class OMDrawingToolLauncher
I found that the ActionListener method tied to the JComboBox will not be called when there is only one item in the JComboBox.
I will do a private quick fix in the OpenMap source (I am in a hurry) but to me it seems this must be a bug and should have a proper fix.

I am running Java 1.6, having recently switched from 1.5 and have a suspicion that the behaviour was different under 1.5.

Anyone else with an opinion here ?


-----Original Message-----
From: Camille Blondiaux []
Sent: 13. februar 2007 08:16
To: Geir Øvsttun (AS/ETO)
Subject: Re:[OpenMap Users] Problem with Drawing Tool Layer

Hi !

I also noticed that behavior and realized that even if the combo box displays the layer you want to draw on, you must "reselect" it in the combo, I mean, display the list and click on Drawing Tool Layer, then it works !


> Hi,
> I am using the Drawing Tool Layer and the corresponding
Drawing Tool Launcher widget for initiating drawing.
> When opening the Drawing Tool Launcher widget and pushing
the Create Graphic button I get a "Problem" popup windows displaying the text :
> Problem creating new graphics:
> No valid receiver for the created graphic.
> The Send To Selection pull down list shows one item :
> Drawing Tool Layer
> I thought this was the receiver. Am I wrong ?
> The problem is not happening always but I have not been able
to figure out why and when I get the "Problem" popup window
> Got a clue anyone ?
> Geir Ovsttun
> Ericsson AS

Envoyez vos cartes de voeux depuis Elles seront ensuite distribuées par le facteur : pratique et malin !

[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Feb 13 2007 - 02:49:58 EST

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