Return-Path: Delivered-To: apmail-incubator-pivot-user-archive@minotaur.apache.org Received: (qmail 87102 invoked from network); 2 Oct 2009 16:28:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Oct 2009 16:28:50 -0000 Received: (qmail 31783 invoked by uid 500); 2 Oct 2009 16:28:50 -0000 Delivered-To: apmail-incubator-pivot-user-archive@incubator.apache.org Received: (qmail 31753 invoked by uid 500); 2 Oct 2009 16:28:49 -0000 Mailing-List: contact pivot-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pivot-user@incubator.apache.org Delivered-To: mailing list pivot-user@incubator.apache.org Received: (qmail 31744 invoked by uid 99); 2 Oct 2009 16:28:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 16:28:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of carl.marcum@codebuilders.net designates 67.18.71.13 as permitted sender) Received: from [67.18.71.13] (HELO gateway15.websitewelcome.com) (67.18.71.13) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 02 Oct 2009 16:28:38 +0000 Received: (qmail 3558 invoked from network); 2 Oct 2009 16:39:44 -0000 Received: from gator209.hostgator.com (70.87.170.18) by gateway15.websitewelcome.com with SMTP; 2 Oct 2009 16:39:44 -0000 Received: from cpe-24-209-86-36.woh.res.rr.com ([24.209.86.36]:38103 helo=[192.168.2.19]) by gator209.hostgator.com with esmtpa (Exim 4.69) (envelope-from ) id 1MtkzT-0006XI-Qo for pivot-user@incubator.apache.org; Fri, 02 Oct 2009 11:28:19 -0500 Message-ID: <4AC62A1E.7090708@codebuilders.net> Date: Fri, 02 Oct 2009 12:28:14 -0400 From: Carl Marcum Organization: CodeBuilders.net User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: pivot-user@incubator.apache.org Subject: Re: Specifying Main Window Size in Desktop App References: <4AC62151.4010102@codebuilders.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator209.hostgator.com X-AntiAbuse: Original Domain - incubator.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - codebuilders.net X-Virus-Checked: Checked by ClamAV on apache.org 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