Hi,
On Sat, 21 Aug 2010, Xiangfei wrote:
You talk about a macro, but then about using the Java API. That is a
little bit confusing, as you cannot call the Java API from a macro.
Anyway, the methods you found work well if you use them _before_ showing
the window.
Hth,
Johannes