Contents
This code package was decreed (though perhaps soon decried) by Himself. The idea was to make an easy way to include instructions/tutorials/help pages WITHIN any CCD produced code, and to display a copyright notice. The copyright notice was how this whole ball got rolling, and roll it did. This package provides: a CONSOLE, to which all standard output and error messages are redirected; a INSTRUCTIONS VIEWER, which is a minimalist web browser to search help pages you create; a PARAMETER LOADER, which allows the viewing, editing, and loading of parameter files (if your code provides that functionality); and a COPYRIGHT NOTICE window.
The CONSOLE, INSTRUCTIONS VIEWER, and PARAMETER LOADER functions may be disabled when you instantiate the Info class (see below). If you also want to disable the COPYRIGHT NOTICE, then you have no need for this package at all!
If these instructions pages were very long (sans weak jokes, that is), then this package would be a pain to use and you wouldn't.
Four easy steps...
The hardest part of this whole thing is the Parameter Loading. If you want to use this feature than you need to create a method someplace that can parse a single String object (with many lines) to get the parameter values. If your code already reads files, then this is no big deal... you probably already read the file in line-by-line, so look at the dummy method I wrote in NullSim "loadNullSimParams()" for one way to get line-by-lines from this big String. This method of yours will be called in Info.loadParams(), so be sure to edit that line in Info.java