Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 52016 invoked from network); 23 Jun 2009 14:18:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jun 2009 14:18:25 -0000 Received: (qmail 24054 invoked by uid 500); 23 Jun 2009 14:18:36 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 24033 invoked by uid 500); 23 Jun 2009 14:18:36 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 24023 invoked by uid 99); 23 Jun 2009 14:18:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 14:18:36 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.219.223] (HELO mail-ew0-f223.google.com) (209.85.219.223) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 14:18:28 +0000 Received: by ewy23 with SMTP id 23so173506ewy.4 for ; Tue, 23 Jun 2009 07:18:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.26.70 with SMTP id b48mr42703wea.141.1245766685455; Tue, 23 Jun 2009 07:18:05 -0700 (PDT) In-Reply-To: <479ffcd60906230708y7f2a2a68g20fd7428ba4f13a2@mail.gmail.com> References: <479ffcd60906230708y7f2a2a68g20fd7428ba4f13a2@mail.gmail.com> Date: Tue, 23 Jun 2009 10:18:05 -0400 Message-ID: <5adb61290906230718q7b58e399u6ad1440a4c50124b@mail.gmail.com> Subject: Re: Two minor modeler feature requests From: Michael Gentry To: user@cayenne.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I just checked the Modeler code and it is using Swing's JFileChooser instead of AWT's FileDialog. On OS X, the AWT FileDialog is the "proper" file dialog to use (it is the one Apple mapped to the native file dialog). We'd have to change the code to conditionally open JFileChooser/FileDialog depending on the platform. I've actually got some code that already does that (different project), so maybe it could be added. The FileDialog also remembers the size of the open window, the directory you were last in, etc. Just like you'd expect it to operate on a Mac. mrg On Tue, Jun 23, 2009 at 10:08 AM, John Armstrong wrote: > Two items for the Modeler: > > 1) Is there a reason it set to use a FileBrowser rather the the > FileDialog which is more powerful and 'user friendly' on Mac/Win? > > 2) Whichever we use should default to the users homedir. > > I can knock these changes out but before I did I wanted to see if > there was a specific reason they were not implemented in this manner. > I am still running M5 so it may be this way in later versions, my > apologies if this is the case. > > I spend a lot of time clicking around that these two items would reduce ;) > > Thanks! > John- >