This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have written a class for creating excel sheet using jexcel API.
As of now I am hard coding the path of excel sheet eg c:\sample.xls. And the excel sheet is getting generated in c drive.
My requirement is that I should only set the name of the excel sheet and when I execute the program it must popup the "file download" box which asks whether we want to save the file or open the file with selected program.
Could you please help me in enabling this feature?