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

  1. Main calls the class FileOpGUI and sets it visible.  This must invoke all the following steps
  2. FileOpGUI assumes the name and initializes all the constituent pieces.
  3. Code at the bottom declares all the parts and pieces
  4. Next code after the Class declaration instantiates parts / pieces using the NEW syntax
  5. Some properties of the bits and pieces are set like titles
  6. 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

Java Serial Port

Java is not stable enough for industrial control so far as I have seen. .

Part of the Java Pages

Serial Port Links