I asked this in another post, but I don’t think I expressed it very well… so now that I have time I’ll try again.
I’m using borland to create a gui that will be something like RPGMaker2000. Via widgets I will manipulate how the game looks, where sprites go, what tilesets go in which rooms, etc. When I’m done creating my game, I want to save it as a game class that extends applet, implements runnable, etc. I was thinking, the “save” button could save a text file that writes out all the stuff that’s not varialble, like:
out.println(“import java.awt.; import java.applet.;… public class videoGame extends…”)
then I’d concatonate variables in that I changed in the gui. When all is done, it would be saved as a text that I could just change the extension to .java and compile and go.
Anyway, the idea is stupid, but hopefully that will give you a better idea of what exactly I’m trying to do. Basically I’m trying to either save a complete java project (not just text or object data binaries) that ISN’T the java project I’m presently in (which is the gui), or manipulate a template that would have all the stuff i need for this game and I could just change the variables. I’m dumb, and all I know about regarding template manipulation is random access, which wouldn’t work because it requires that the input be the exact same length in terms of letters as the template.
Any ideas?