aspose file tools*
The moose likes JavaFX and the fly likes Create new file in directory with JavaFX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Create new file in directory with JavaFX" Watch "Create new file in directory with JavaFX" New topic
Author

Create new file in directory with JavaFX

arturas zarkys
Greenhorn

Joined: Jan 26, 2011
Posts: 4
I have one more problem (thankfully this problem is last one)...

How can I create new file with JavaFx ?
For Example, how can I create data.txt file in c:\ directory (ex: c:\data.txt) ?

Can anybody know how to solve this problem ?
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3071
    
  33

arturas zarkys wrote:I have one more problem (thankfully this problem is last one)...

How can I create new file with JavaFx ?
For Example, how can I create data.txt file in c:\ directory (ex: c:\data.txt) ?

Can anybody know how to solve this problem ?


You can always use Java APIs for that. Check out java.io.File and related APIs in java.io package.


Mohamed Sanaulla | My Blog
 
 
subject: Create new file in directory with JavaFX