showFileOpenDialog not showing file

Hi All

I am using in my code this two statements, but in the open dialog, there is no path and filenme showing up (although I can manually select a file):

var fileName = ‘~/Desktop/waypoints.dat’;
var file = plugins.file.showFileOpenDialog(fileName);

I also tried this statement, same result

var file = plugins.file.showFileOpenDialog(‘waypoints.dat’);

Is this really working?

Servoy Developer
Version R2 2.2.3-build 335
Java version 1.5.0_05-48 (Mac OS X)

Best regards, Robert

It’s a known problem of Java on MacOS, it won’t show the hinted file name, try it on a windows box and it will work as expected.
We are all waiting for Apple to fix this.

Hello Nicola

Thanks for the info, so we wait for a fix .-)

Best regards, Robert

ngervasi:
It’s a known problem of Java on MacOS, it won’t show the hinted file name, try it on a windows box and it will work as expected.
We are all waiting for Apple to fix this.