For the about/credits dialog, I would suggest the following:
* the menubar code is located in the Swing-UI module; search around
for "JMenuBar"
* I'll leave it up to you as to whether the menu entry is under the
"File" menu or is just a menu item by itself
* the class "CPSDialog" provides a way for us to have semiconsistent
looking dialogs; checkout some of the other dialogs (in Netbeans, do
Command-O (perhaps Alt-O on Windows) and type in "*Dialog" for a list
of classes whose name ends in "Dialog"; these will generally be
subclasses of CPSDialog.
* eventually, I would like to display small images or icons in the
about window, but we can do just straight text for now
* in terms of abstraction/encapsulation, it might make sense to create
another class in the CPS-Spec module (CPSCredits?) that defines three
two-dimensional String arrays: Contributors, Supporters and Funders.
Each array would have three indices: 1) name, 2) email, 3)
title/contribution/description/etc. eg:
public class CPSCredits {
public static String[][] contributors = new String[][] { { "Clayton
Carter", "croppl...@gmail.com", "Lead Developer" }, ... };
* it would be more elegant to use Lists, but I'm unsure how initialize
Lists w/ data at declaration.
* if any of the strings in the arrays are null, they can be ignored, or course
* then you can use those arrays to dynamically build the list of
contributors, supporters and funders which are displayed in the about
dialog
Hope this is helpful; I just banged it out in a few minutes, so let me
know if anything doesn't make sense.
Clayton