Skip to content

Add "Major" to Account Creation menue #2

@git-ben18

Description

@git-ben18

Users should be able to add their major when creating an account.
create account window
create account window

This could allow users to track their progress within their intended major.
To add this feature, the following files will need to be updated:

Person.java
-A variable to hold studentMajor should be added, as well as a constructor that includes the studentMajor field.

AccountController.java

  • A TextField variable should be added for the text field. Also, a validateMajor() function should be added. Perhaps a ComboBox could be added in the future, with all majors offered at Wright State, but this issue is focused on basic functionality.

CreateAccount.fxml.
-This file includes the GUI design for the account creation menu. As it is currently designed, the third row of the GridPane has enough space to include a new TextField for academic major.
<HBox GridPane.rowIndex="3"> ... </HBox>

I am continuing to identify parts of the code that would need to be modified or updated to include this enhancement.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions