Ok, first off, I am a Java application newbie, so these might be simple issues, but they aren't to me.
Project Background: I am trying to make a Java application that will be used to create RPG characters. There are many different mods(different rules that can be used to make characters) so I plan on using txt files for the different mods that can be used. Inside those txt files I plan on using tabs and returns(I guess this is the best way) to read information from the files, and so that people can make their own mod files. I will use a master txt file that lists all the mod txt files. I want this application to be an exe file.
First problem: What's the easiest way to make the class file executable by anyone?
Second problem: The first thing I need to be able to do, is have the user set the path to where their mod files are stored. Basicly I need like a "Set path:" textbox, but would like the option for them to click a button and have them beable to navigate their computer drives. Is there already a class for this that I can just call?
Third problem: Say I have a txt file that looks like this:
The space between "name:" and "bob" is a tab, and the same on the next line. If I am using DataInputStream to read the file, how to I populate a combobox1 with bob, and a combobox2 with 21. In other words what command is used to read something, then skip the tab and read the next bit of info, then skip to the next line and read that info.
If I am headed the wrong way with any of this, or if anyone has a better idea how to do any of this, I am a newbie and know it, so please chime in. Thanks.