Hi Lior,
For complicated tool tips, you should format the string as HTML. The
com.bbn.openmap.plugin.esri.EsriPlugIn does this and you can use it as
an example.
- Don
On Dec 8, 2003, at 3:05 AM, Lior Graf wrote:
> Hi,
>
>
>
> I would like to use my own tooltip in the openmap application. The
> tooltip is complicated (multiple rows and graphics), and I am having
> some difficulties employing it with openmap.
>
>
>
> I tried to create my own tooltip class (that derives from JTollTip).
> Then I override the function "createTollTip()" of JComponent at
> "MapBean".
>
> When trying to debug the application, I noticed that the function is
> called, my painting function of the toolltip also, and yet, the
> regular tooltip is shown and my own doesn't appear...
>
>
>
> Can anyone tell me what is the problem? Is there a better way to
> customize a tooltip? What is the preferred way to customize such a
> complicated one?
>
>
>
> Lior Graf
>
> Software Developer
>
> Mercury Interactive
>
>
>
> Tel: 972 3 5399925
>
> Mobile: 972 51 507302
>
> Fax: 972 3 5331617
>
> Email:liorg@mercury.co.il
>
>
>
> _______________________________________________________________________
> _
> This email has been scanned for all viruses.
>
> Mercury Interactive Corporation
> Optimizing Business Processes to Maximize Business Results
>
-- [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 Mon Dec 8 07:59:18 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:37 EDT