This is the basic swing layout for the "Choose Account Menu."
Made some further changes to ChooseAccountMenu (mainly variable names)
and added the CreateNewAccountMenu.
Added MainMenu.
Added EnterInformationMenu.
Added MonthlyRecordsMenu. At this point, all of the interface has now
been designed and visual implemented. Next goal is to make the
HealthTracker class load and hop between the frames, then add
functionality to the menus via listeners.
Added quit functionality to main menu; HealthTracker now boots with
main menu. Added button action listeners for all the buttons on all of
the interfaces.
Started to implement frame changing mechanism, not sure this method
will work but is worth a shoot.
Hurrah! Frame switching is now implemented; added FrameController to
make such possible.
Started to add functionality to ChooseAccountMenu and
CreateNewAccountMenu; a lot of work to be done on these two.
CreateNewAccountMenu is fully functional, from what I am aware of.
Next up, to test whether or not I am right about this, I will implement
ChooseAccountMenu. This commit also removes the static variables
in HealthTracker and instead uses normal variables whose references are
passed via the FrameController in order to follow OOP better.
UserAccountList now populates the ComboBox dynamically and some basic
error checking functionallity has been added to ChooseAccountMenu.
Added account deletion with error checking.
ChooseAccountMenu selection completely works and MainMenu reads out
selected account name. Thus, both of these menus are done. Just
EnterInformationMenu and MonthlyRecordsMenu left.
Changed how currentAccount works, integrating it into accountList to get
around Java's weird pass-by-reference rules. So MainMenu,
chooseAccountMenu, and CreateNewAccountMenu should all be fully
functionally now and EnterInformationMenu and MonthlyRecordsMenu are no
longer broken when accessing the current account.
Added some testing stuff; if you want to see how to implement JUnit,
I have some examples in here now. Added a new constructor to User
Account too which only needs first and last name.
Saving and loading a persistant user account list.
Added JFreeChart Libraries
Added daily input functionality to the EnterInformationMenu, began
implementing unformatted graphs
Graphs are formatted and applied to all panels on the Monthly View
GraphMonthly only graphs data from the current month.