I have just finished reading fundamental topics in Java and now i have decided to do a New Project in Java which comprises all basic features of Java.
I need help in Understanding/visualizing the architecture / Design model for my Project.
Specification is :
1 . Develop a Standalone GUI Application with which user logs in with Credentials and then if its successfull, he gets a Window , the window has few Labels like name,date,descritpion etc and related text fields under the labels for user to enter the information.
2.A user, if he logs in and enters some information in the text fields and click on Save button, the textfields has to save the data entered by user.
- And then if another user logs into the app, it should display all the details entered by the previous user, so that he can modify any contents in the fileds and save it. So at any time if any user logs in he shoud get the last saved information in the application by any user.
Stages Completed :
I have created two GUI's one for Login Window and one for Main Window after login. So if a user logs in, the class checks the user credentials in database and authenticates and he gets the mainwindow.
As previously said, main window contains labels and Textfield.
Challenges facing :
- How to make the Main window contents sharable by Users. That is if Peter saves some information in the "Description" Textfiled like for example :
Description : James, please call me when you see this message .
So when James logs in he should see the info in "Description" TextFiled updated by Peter.
- Now I have Two Rows in the main Window created by Grid Layout (2*8)
First row showing labels like name, number, description and the second row contains appropriate text fields.
This is for only one Event, I dont know how many events will come in a day. So if user wants to add another event he needs to click a button and then another row has to come with the text fields as row 2 so that he can update the new event in the new textfiled.
Suggestions are greatly appreciated. Thanks in Advance.