I am struggling adding a save method to the following program
everytime I try to add a save it messes up the rest. any suggestions? I know this looks awfully convoluted but I'm new at this game. [This message has been edited by Ronald Pruitt (edited January 23, 2001).] [This message has been edited by Ronald Pruitt (edited January 23, 2001).]
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
posted
0
What are you trying to save, and to where? Are you trying for persistance? Is it the values on the GUI that you are trying to capture, or is it the file that you are writing out that you are refering to??
"JavaRanch, where the deer and the Certified play" - David O'Meara
Ronald Pruitt
Ranch Hand
Joined: Jan 15, 2001
Posts: 32
posted
0
I want to be able to ultimately save the file that I have opened and the state of the GUI. Currently I can save the file and the state in the Save as portion. but I don't want to have to do a save as each time, I would like to be able to just do a save and that would save the current file that is being edited or whatever. I think what I will ultimately want to do is parse the text file and find out how many times a word is in the file etc. but I haven't go that far yet. I hope this is understandable. [This message has been edited by Ronald Pruitt (edited January 23, 2001).]
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.