|
From: Slava P. <sl...@je...> - 2003-03-24 02:44:12
|
This is caused by the status bar showing the macro's path.
Does this work:
SwingUtilities.invokeLater(new Runnable() {
void run() {
view.getStatus().setMessageAndClear("hi folks");
}
}
I could try working around this in 4.2...
On March 20, 2003 04:14 pm, Rudi Widmann wrote:
> Short question to beanshell macro:
> I have some macros which give me information on the status bar, e.g.:
>
> view.getStatus().setMessageAndClear("hi folks");
>
> When I invoke the macro via shortcut, it works, but when I call it via
> menu Macros -> mymacro, nothing is displayed (same if I call it via
> context menu)
>
> How can I prevent the status bar to be cleared ?
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Tablet PC.
> Does your code think in ink? You could win a Tablet PC.
> Get a free Tablet PC hat just for playing. What are you waiting for?
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
--
Slava Pestov
|