my dog learned polymorphism*
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: 3064
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Create new file in directory with JavaFX
 
Similar Threads
Connecting Database From JavaFX on Windows Mobile
servlets program
read text and stroe date to the array
io conceptual query
reading a file from a parent directory??