Java File Operations with Text Box – Load and Save Text you type in
Zip Archive of Source code: TextBoxWithFileOps
Type and edit normally in the text box. Load a file if you wish first. Then save off to file. Includes the use of a filechooser and a menu.
In the code below
- Main calls the class FileOpGUI and sets it visible. This must invoke all the following steps
- FileOpGUI assumes the name and initializes all the constituent pieces.
- Code at the bottom declares all the parts and pieces
- Next code after the Class declaration instantiates parts / pieces using the NEW syntax
- Some properties of the bits and pieces are set like titles
- Menu code in automatically entered but the programmer has to fill in what they do. In this case simple file ops like SAVE, OPEN
….more



