On 17/10/2013 22:34, Sergey Bylokhov wrote:
On 18.10.2013 0:31, Paul Taylor wrote:
Oh drat, shame as the similar "apple.awt.fileDialogForDirectories" was added, having said that when I use this in another project it was with an early access release of 1.7.0_40 , now with the final release although I can select folders as required , I can also select files I thought they were hidden or greyed out, or is my memory failing me.
The possibility to select files in this mode is a bug, and it was fixed in jdk 8
https://bugs.openjdk.java.net/browse/JDK-8025503

Thanks, but with Java 8 not being released until March 2014 is there no chance of it being fixed in Java 7 ?

Ive tries to submit a bug report three times now and each time it fails at the end, and yes I do view it as a bug not an rfe because its a regression from java 6. At least the last time I kept the bug report information in a text file so I post here in case anyone can do anything with it



Java 7 on Mac no longer supports apple.awt.use-file-dialog-packages property

OSX 10.8
Darwin macbook.local 12.4.0 Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64

java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)

In Java 6 on OSX the apple.awt.use-file-dialog-packages property is used by FIleDialog to display application bundles as leaf node rather than a folder (which is what they actually are). This allows an application to create a dialog that lets the user pick a bundle as an application i.e to let them configure their browser or Texteditor.

This option is no longer available

I no longer have that installed but this worked with Apples version of Java

Create a FileDialog
Navigate to the /Applications folder

Applications are listed and cannot be expanded, the same behaviour as using a Finder window

Use of the the property can be seen in ApplicationDialog within this project https://java.net/projects/mrjadapter/sources/svn/content/trunk/src/net/roydesign/ui/ApplicationDialog.java?rev=35

The problem is that this issue makes it difficult to update my application to use Java 7 rather than Java 6 as we are being advised to do because it degrades the functionality of my application

Reply via email to