Class ProgDefault


  • public class ProgDefault
    extends java.lang.Object
    Functions for use with programmer files, including the default file name.

    This was refactored from LocoSelPane in JMRI 1.5.3, which was the right thing to do anyway. But the real reason was that on MacOS Classic the static member holding the default programmer name was being overwritten when the class was (erroneously) initialized for a second time. This refactoring did not fix the problem. What did fix it was an ugly hack in the CombinedLocoSelPane class; see comments there for more information.