Problems with FileDialog

niagarasoft20-macosxportdev at yahoo.com niagarasoft20-macosxportdev at yahoo.com
Mon May 27 10:07:18 PDT 2013


Robert, The wording in the bug report is confusing, but means if a splash is displayed at program launch using the -splash param, either
in the app bundle launcher info.plist or from the command line.


The old fashion way of presenting a splash is the way we used to do this before this feature was introduced in Java 1.6 which was using a basic awt.Frame. This is the work around that I'm using for the Mac port. Windows, Linux & Solaris works as it should. Hope this saves you some time. Mike




>________________________________
> From: Robert Krüger <krueger at lesspain.de>
>To: "niagarasoft20-macosxportdev at yahoo.com" <niagarasoft20-macosxportdev at yahoo.com> 
>Sent: Monday, May 27, 2013 10:50 AM
>Subject: Re: Problems with FileDialog
> 
>
>On Mon, May 27, 2013 at 3:57 PM, niagarasoft20-macosxportdev at yahoo.com
><niagarasoft20-macosxportdev at yahoo.com> wrote:
>> Yes, see. http://bugs.sun.com/view_bug.do?bug_id=8006420
>>
>> Also:
>>
>> http://mail.openjdk.java.net/pipermail/macosx-port-dev/2012-December/005245.html
>>
>> It was alot of work to figure out this connection. For now, I just create a
>> splash screen the old fashion way.
>>
>> Mike
>
>OK, thank you! To the Oracle engineers: The bug report states "The
>FileDialog won't work properly if it's shown while an AWT SplashScreen
>is showing". I don't know if that was meant literally but in my case
>the splash screen is long gone when this happens.
>
>By the old-fashioned way you mean displaying your own Frame for that
>when your application starts?
>
>Robert
>
>
>


More information about the macosx-port-dev mailing list