Report as inappropriate.
Here's a little simple code that writes a sentence in an external text file and recover it again to display it in your world.
The external file will be located in your C:\Users\...
The purpose of putting it in this location is to be able to write/read from it even after exporting your project to a .jar file, which is not the case if your text file stays in your project directory (Because a jar file is hardly modifiable and it's highly disadvised to try modifying it)
To embed this scenario in a web page, copy the following HTML code:
Want to leave a comment? You must first log in.
No votes yet.