Problem on file browse on fileystem after update to Java 7

Hello

Using java 7 (any subversion) when I try to open a file from filesystem using the funtion

plugins.file.showFileOpenDialog()

The result is this always an empty browser windows.
I have done test using servoy version 5-6 and the result is always the same.
If I use java 6 (any subversion) all works has expected.

Should I modify the code for use this plugin on java 7 or this is a bug?

Regards

What args do you pass to the function (on WebClient you need a callback also)?

Regards,
Andrei

Hi

it does’t works using any arument:

usually I use :

plugins.file.showFileOpenDialog(0, null, false)

or

plugins.file.showFileOpenDialog(1, null, false)

This error happen only of smartclient, webclinet works well passing the right arguments.

Regards

Do you have any errors in the logs? (in servoy_log.txt or in the workspace/.metadata/.log file)
Using Java 7 and Servoy 6.1 I was unable to reproduce this (using code as you mentioned above, in smart client).

Regards,
Andrei

Hello

No , there is any kind of error,
I have done some test and servoy 6.1 on windows 7 work
Servoy 5.2.15 with java 7 on windows 7 doesn’t works.
As you can see I have the same error using the default import option from menu.
I have a lot of installation with Servoy 5.2.15 and all client that have updated to java 7 have the same problem
Widnows XP, Windows 7 32 and 64 bit, Linux and Macox so I suppose the problem is spefic to the version 5

Regards

Hello

Got it, the problem is caused by a LAF, removing it no issue.
This LAF is named “tiny” so if you use it please note this problem.

Thanks for help

Regards