Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Save as Dialog in Applet  RSS feed

 
Ahmed Shaikh
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
In my application I am using tomcat,signed applet,and jsp.
now with the help of all this I am enable to download .exe file which is available on webserver using applet and executing that exe after completion of download but, the problem is that I want to save that .exe file at specific location on my client machine and to get that location.
So please help how to pop up dailog box while downloading a file and to get a download path.

Thanx in Advance.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's nothing applet-specific about this. You can use the java.awt.FileDialog class (or a javax.swing.JFileChooser if it is a Swing applet). An example of how to use it can be found here.
[ November 24, 2005: Message edited by: Ulf Dittmer ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!