Sorry, we must have added that method for 2.0. You can still get access to it 
in 1.5, though. Call getDisplayHost() on the display and then walk up the AWT 
hierarchy until you find the root AWT Window.
G

On Nov 15, 2010, at 11:19 AM, ChesStrategy wrote:

> 
> 
> Greg Brown wrote:
>> 
>> You are setting the min. size on the display host in this example - you
>> need to set it on the host window (returned by getHostWindow(), not
>> getDisplayHost()). I just tried this and it seems to work fine.
>> 
> 
> This is probably a very dumb/trivial question, but, I cannot seem to find
> getHostWindow() in the 1.5.2 javadoc. I googled for getHostWindow(), and
> found some stuff on it in the commits mailing list, suggesting that it is a
> function of Display; but when I check org.apache.pivot.wtk.Display in the
> 1.5.2 javadoc, I don't see the function.. do you mean calling <name of
> display object>.getWindow().setMinimumSize(..) instead?
> 
> Thanks for all your help so far.
> Dave
> -- 
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/Setting-a-minimum-enforced-size-for-the-Display-tp1902028p1905463.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to