CASE STUDY
FileGUI can access directories to select input and output files. This provides the basis for many utilities that analyze input files and prepare output report files. The GUI consists of two layers. The first layer splits the panel into two columns, one for file selection, the other for run-time function buttons. The next layers consist of two rows (left hand) and a single column (right). File choosers and run-time buttons are the only control objects required in this simple design. The RUN button should be deactivated (grayed out) until the input file is selected. The file chooser should not allow directories to be selected. The input file must already exist. The output selector should have a default of report.txt and allow a new file to be created. The GUI looks as follows: