• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

adding a save method

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).]
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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??
 
Ronald Pruitt
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).]
 
reply
    Bookmark Topic Watch Topic
  • New Topic