Those are command-line arguments, not method arguments. Note that they set the size of the native host window, not the WTK Window. However, if you set the maximized property of the WTK Window to true, it will always expand to fill the client area of the native host.
On Sep 28, 2011, at 8:20 AM, chenmgm wrote: > My question is about the size of window. it is simiar with Mohammed AMHEND > http://apache-pivot-users.399431.n3.nabble.com/Desktop-Application-size-Problem-tc2844628.html#a2844643 > > But i can not find ang method of org.apache.pivot.wtk.Window > to set "--width=800 --height=600 --resizable=false" in my app > at startup > > can you show me the code? > > -- > View this message in context: > http://apache-pivot-users.399431.n3.nabble.com/chenmgm-gmail-com-tp3372743p3375867.html > Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
