Issue: How should the Graphical User Interface (GUI) screen for the Leagues appear to the user?

Discussion: The League data is read in from the season directory selected by the user, or the default season directory.  There may be a league marked as the default, in which case it is automatically selected.  If there is only one entry in the leagues list, then it is marked, automatically, as the default.  If the user creates another league, then the default marking is removed from the original entry, and the user can then mark either one, or none, as the default.  

I would like for a checkmark next to the default league, if there is one.  If the default league is highlighted, and there is more than one selection available, if the user clicks the Default button, the default status will be reversed.  If the highlighted item is not the default, and there is more than one selection available, then the highlighted item becomes the default if the default button is clicked, and all other selections will have their default status removed.

To add a new league, the user enters it into the text box below the list, then clicks the add button.  If that entry already exists in the list, then nothing happens, otherwise it is added to the selection list and the Edit window opens for the user to enter new data.  To delete a league, the user highlights the item and clicks the Delete button.  There may be a need for a confirmation dialog box for deletions.

The user may edit an existing entries name only by highlighting it, then editing the name in the text box below the list, then clicks the Save Button.  If the user clicks the Select button, then that league’s data will be loaded.  If the user clicks the Edit button, then the League Data Entry Screen will appear.

Note that the season exists but the league name in the title panel does not yet exist.

Conclusion: Here is what I envision the first Leagues screen to look like:
   
 
Season Name
No League
Leagues:

* = Default









Here is what the League Data Entry Screen will look like:

Season Name
New League

League Name  
ID
Use Handicap
Handicap Basis Pins
Handicap Percentage %
Negative Hdcp Allowed
Number of Teams
Start Date
Number of Contests
Players per Team MIA Games Required
Certification # Vacancy Score
Contest Fee Use Entering Avg
Default League Uneven Teams Type
Games in Series Absent Penalty (Pins)













In the Data Entry screen, the ID value is not editable, but visible.  The Uneven Teams Type field is disabled (visible but not changeable) unless the entry in the number of teams field is uneven.  The Hdcp Percentage, Hdcp Basis, and Negative Hdcp fields are disabled unless the Use Handicap selection is Yes.  The Default League field is visible, but not editable.  The default status is set at the Leagues list screen, not here.