Hi
I have a java web start application where I save a file for the user. I want to give a filename to show in the saveFileDialog editable textbox. My problem is that there is no suggessted filename in the editable textbox in the saveFileDialog. The application is running in a sandbox, no jar files is signed. Is this the problem? If this is the problem is there a way to get around this problem without signing the jars?
/Thanks in advanceCode:// out is my outputstream String[] xtns = { "test1" , "test2" }; FileSaveService mFileSaveService = (FileSaveService) ServiceManager.lookup("javax.jnlp.FileSaveService"); mFileSaveService.saveFileDialog(null, xtns, out.getTarget(), "myFileName." + xtns[0]);
Tobbe


LinkBack URL
About LinkBacks




Reply With Quote

Bookmarks