java.awt.FileDialog does not work properly bundled but not sandboxed app

2014-05-23 Thread Hendrik Schreiber
Hey, I'm under the impression that the java.awt.FileDialog in mode FileDialog.LOAD does not work properly when invoked from an app bundle. As in: It always assumes a sandbox and does not give me access to all files anymore. It does not matter, if the bundle was signed or not. The bundle was crea

Re: java.awt.FileDialog does not work properly bundled but not sandboxed app

2014-05-28 Thread Hendrik Schreiber
On May 23, 2014, at 19:26, Hendrik Schreiber wrote: > I'm under the impression that the java.awt.FileDialog in mode FileDialog.LOAD > does not work properly when invoked from an app bundle. > As in: It always assumes a sandbox and does not give me access to all files > anymore. > It does not mat

Re: java.awt.FileDialog does not work properly bundled but not sandboxed app

2014-05-29 Thread Robert Krüger
Hi, I am not really sure I understand your posting correctly. Are you saying that your impression is that java.awt.FileDialog in mode FileDialog.LOAD does not work properly in an app bundle, regardless of sandboxing? If that is so, then I can confirm that this is not the case. You are not by any

Re: java.awt.FileDialog does not work properly bundled but not sandboxed app

2014-05-29 Thread Paul Taylor
On 29/05/2014 11:27, Robert Krüger wrote: Hi, I am not really sure I understand your posting correctly. Are you saying that your impression is that java.awt.FileDialog in mode FileDialog.LOAD does not work properly in an app bundle, regardless of sandboxing? If that is so, then I can confirm tha

Re: java.awt.FileDialog does not work properly bundled but not sandboxed app

2014-05-29 Thread Hendrik Schreiber
On May 29, 2014, at 12:27, Robert Krüger wrote: > I am not really sure I understand your posting correctly. Are you > saying that your impression is that java.awt.FileDialog in mode > FileDialog.LOAD does not work properly in an app bundle, regardless of > sandboxing? If that is so, then I can co

Re: java.awt.FileDialog does not work properly bundled but not sandboxed app

2014-05-30 Thread Robert Krüger
On Thu, May 29, 2014 at 10:39 PM, Hendrik Schreiber wrote: > On May 29, 2014, at 12:27, Robert Krüger wrote: > >> I am not really sure I understand your posting correctly. Are you >> saying that your impression is that java.awt.FileDialog in mode >> FileDialog.LOAD does not work properly in an ap

Re: java.awt.FileDialog does not work properly bundled but not sandboxed app

2014-05-30 Thread Steve Hannah
For my OS X apps, I generally use a wrapper of NSOpenPanel and NSSavePanel that I created rather than java.awt.FileDialog. That way I have access to the full gamut of what Cocoa provides in file dialogs. It also won't be affected by this bug. I have posted the source and some example usage here.