• Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.jnlp.FileSaveService not save file with default name.

 
Manu Manoharan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using javax.jnlp.FileSaveService class to save a file to local disc. But even though the save dialog box popup comes, it is not showing the default name in the filed to enter the name. But by giving a filename, its possible to save the file.

code snippent

***************************************

***************************************

I have put the jnlp jar in the classpath.
Please tell me if someone else also faced the problem and got the solution

Thanks in advance,
Manu
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Manu Mano wrote:


Please check your private messages for an important administrative matter.
Also please UseCodeTags
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I personally have not used FileSaveService, but from the API docs (emphasis added)
name - The suggested filename, which might be ignored by the JNLP client
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!