Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jfilechooser dialog box is not displaying on client side

AbuFazalAug 17 2013

Hello Experts,

I am having a application server hosting client files.

I have used jfilechooser to enable the client to download their files.

However, when the client clicks on the download button, the dialog box is initializing on the application side hosting the files instead of the client desktop.

Following is the code snippet that I am using

public static Result downLoad1() throws Exception

        {

                System.out.println("Start");

                JFileChooser chooser=new JFileChooser();

                chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);

                 chooser.setAcceptAllFileFilterUsed(false);

                 chooser.showOpenDialog(null);

                 System.out.println("end");

                return ok("success");

        }

Please help

Comments

Hi Paolo,
You posted this to the wrong forum, but I don't have the privileges to move it yet. It should go in "Oracle Developer Tools for Visual Studio".
You can't use Visual Studio 2019 to deploy code to the database for Oracle Database Extensions for .NET (eg CLR in the database). We will have a release that supports this by the end of the year.
What you will need to do is use Visual Studio 2017 and the 18.3 version of ODTwithODAC:
ODAC Downloads - Oracle Universal Installer (0 Bytes)Before you install it, be sure to uninstall any ODT you have currently installed.
Also, I do not recommend you use the CLR feature unless absolutely necessary. It is much preferable to put your .NET code in the middle tier or elsewhere.

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 14 2013
Added on Aug 17 2013
0 comments
885 views