private void PrintMasterLogButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_PrintMasterLogButtonActionPerformed
        // Create a variable for the print service.
        Desktop Service = null;
        
        // Create integers for the number of print jobs to be done.
        int NumJobs = 20;
        int JobsDone = 0;
        
        // Create a string for the logfile directory.
        String PATH = "C:/Users/Dale/Desktop/Lane Logs/";
        
        // Create a file type for the fiel to be printed.
        File FileToPrint = null;
        
        while(JobsDone != NumJobs){
            // Create an output buffer for the file.
            try{
                BufferedWriter Writer = new BufferedWriter(new FileWriter(FileToPrint));
            }
            
            // Bail out on exception.
            catch(IOException e){
                e.printStackTrace();
                System.exit(-1);
            }
        }
        
        // Check if Desktop services are supported.
        if(Desktop.isDesktopSupported()){
            Service = Desktop.getDesktop();
        }
        
        // Try to print the file, bail out on exception.
        try{
            Service.print(FileToPrint);
        }
        catch(Exception e){
            e.printStackTrace();
        }
    }//GEN-LAST:event_PrintMasterLogButtonActionPerformed