I really hope that someone can give me a little advice. I am working on a program that reads a text file formatted as follows:
Bike, Schwinn, 45.00
Car, Mercedes, 98,000
I am writing a program that will read this text file and write each item in a seperate JMenu for user selection. For example each JMenu will house one column of information.
So far I have created the JMenus, added them to a frame and am reading the file to the console. My question is that instead of reading to the console how would I get this informaton into the JMenus. I am using the BufferedReader and the FileReader to read the file and using a StringTokenizer to parse the lines.
Any suggestions will be great.