How do I include an external file in my game when I share it?
By Griffon, with 13 replies.
Last reply by Griffon, about 11 years ago:
I FINALLY figured it out on my own. I discovered the JEditorPane. It's a class that can read html code and since it's a java file the program will open it after you share it with Greenfoot! Although none of the hyperlinks or pictures work, that doesn't matter as much. The only problem is that it didn't scroll, but passing it to a JScrollPane gave it a scroll bar. Example: