This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
My Prof assigned this project... A frame, text area in the center, panel in the south containing a text field. Any text file opened would show its contents in the text area and the path and filename in the text field.
I did it, but I can't figure out how to make it remember which file was last opened. Say, you run the program, open a text file, save and close the file, then close the program. If you run the program again, it will open the last file accessed automatically. I thought about assigning the path to a string variable, but won't all variables be cleared when you close the program?