This project was for a university assignment where we had to create a Java Swing Portfolio. The work was done during workshops and at home where we did weekly task requirements.
During the first week, we had to create setup and initialize User Data from a csv file, create a basic main viewer window to display the content, and implement an edit button so the name could be replaced. This week was to teach us the basics about Java Swing and how we can read and write to files. There were also extra tasks to do during this week where if we wanted to expand our skills, we could add a User Name tab for the name edit panel, and add an additional tabbed panel for data inside the csv file. All this was so we can learn how to structure a clean UI to navigate and keep tidy.
During the second week, we setup ActionListeners so when we pressed the edit buttons, it would display a dialog box with a text box for us to edit the name in. We had to make sure that the Action Preformed correspond with the name that is attached to it. Once the new name was added, we had to refresh the window in order to display the new name. The extra tasks for this week were to update the model so that any changes to the files will show up on the program and to implement an edit functionality to all the tabbed panes so the user is able to edit all the info within the csv files.
During the third week, we were thought how to implement Singleton Pattern to our code. This taught us how to call other files without using Objects in our code. This weeks tasks were based around implementing this into our code.
During the fourth week we refined the code and added more features to it. We added a save button to the dialog box so the user can save the changes they made to the name. We also added a delete button to the dialog box so the user can delete the name they selected. We also added a delete button to the main window so the user can delete the name they selected. We also added a delete button to the main window so the user can delete the name they selected. We also added a delete button to the main window so the user can delete the name they selected.
I spent my time doing the extra tasks for each week and testing my code. I also spent time adding comments to my code so it's easier to understand.