Hallo all,
I have a java application that, at some stage, select files from the local filesystem using JFileChooser.showOpenDialog().
Now I want it in a client-server setup. This means opening a GUI for selecting files on the server.
For client-server I use RMI.
I have already tried several scenarios to keep using the JFileChooser, but I cant get the correct setup working.
I am able to get the remote filelist using File.listFiles() bu then it returns a File[] (or as I did an ArrayList, but that is not important). But using the File.listFiles() on the remote side, I do not see any possiblity to keep using the JFileChooser.
In fact i do not want to create the whole file select window myself as JFileChooser is doing.
Does anyone has a solution to select remote files on a client, using RMI, where it looks like that JFileChooser is selecting files locally.
Thanks in advange.
I have a java application that, at some stage, select files from the local filesystem using JFileChooser.showOpenDialog().
Now I want it in a client-server setup. This means opening a GUI for selecting files on the server.
For client-server I use RMI.
I have already tried several scenarios to keep using the JFileChooser, but I cant get the correct setup working.
I am able to get the remote filelist using File.listFiles() bu then it returns a File[] (or as I did an ArrayList, but that is not important). But using the File.listFiles() on the remote side, I do not see any possiblity to keep using the JFileChooser.
In fact i do not want to create the whole file select window myself as JFileChooser is doing.
Does anyone has a solution to select remote files on a client, using RMI, where it looks like that JFileChooser is selecting files locally.
Thanks in advange.