Re: [OpenMap Users] Set align of text

From: Don Dietrick <dietrick@bbn.com>
Date: Fri May 14 2004 - 11:22:22 EDT

Hi Ruediger,

If you want to change the location of that particular field, the only
real way is to extend the class and change the layout.

Alternatively, you can also add any JLabel to the InformationDelegator
via the addInfoLine(reference index, JLabel) method and push text there
using that reference index. That doesn't make the JLabel a child
component to the InformationDelegtor, you're still required to put the
JLabel in the layout.

- Don

On May 14, 2004, at 10:24 AM, Gubler, Rüdiger wrote:

> Hi there,
>
> how can i set the alignment of the text added to InformationDelegators
> MAP_OBJECT_INFO_LINE.
> I use the following code:
>
> fireRequestInfoLine(message,
> InformationDelegator.MAP_OBJECT_INFO_LINE);
>
> The message is display left side bounded.
>
>
>
> Yours Ruediger
>
>

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don 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 Fri May 14 11:22:43 2004

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