pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Marcum <carl.mar...@codebuilders.net>
Subject Re: Specifying Main Window Size in Desktop App
Date Fri, 02 Oct 2009 16:28:14 GMT
Thank you so much.

The args did the trick. I looked at the code and see it now.

Thanks again,

Carl

Vicente de Rivera III wrote:
> Hi,
>
> I had that problem too before, here's my main method
>
>      public static void main(String[] args) {
>         if (args.length > 0) {
>             noDb = true;
>         }
>         args = new String[]{"--width=800", "--height=650", 
> "--center=true"};
>         Locale.setDefault(new Locale("en", "PH"));
>         DesktopApplicationContext.main(Main.class, args);
>     }
>
> if you look at the code in DesktopApplicationContext, I'm sure you see 
> the arguments there
>
> -
> thirdy

Mime
View raw message