Dear Greg,
Thanks for the hint. Here is what I tried to do......well, keep in mind,
that I am not a developer, simply trying to give a hand to my colleague to
finish the application faster...so:
public static void main(String[] args) {
DesktopApplicationContext.main(cstProgressUpdate.class, args);
DesktopApplicationContext.sizeToFit(window);
}
I removed the lines which are calculating and setting the size of the
HostFrame. However if the user is resizing the window and closing it, at the
next start-up the window will have the size calculated after the resize.
Cheers,
MSafiri
--
View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/HostFrame-Size-How-to-calculate-tp1736915p1743843.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.