Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to save file, using JFIleChooser?  RSS feed

 
alisher kozhabay
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys!
I insert a link to a file, that you need to download. After I click the download button and that's performed this action. And how me save the file, where i chose?


and class Donwload
 
Campbell Ritchie
Marshal
Posts: 55678
161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I presume you already know about file choosers? If you need to write something in that file, you follow the usual techniques, which you are presumably familiar with already. Writing to your new file would depend on what the contents of the downloaded file are. Text? Binaries? Pictures?
 
alisher kozhabay
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:Welcome to the Ranch

I presume you already know about file choosers? If you need to write something in that file, you follow the usual techniques, which you are presumably familiar with already. Writing to your new file would depend on what the contents of the downloaded file are. Text? Binaries? Pictures?


Thanks, I need to download any file(picture,text,archiv). How to realise it is, in my situation?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!