1 Attachment(s)
help with project and arrays
hey guys i'm using netbeans and i cant get my head around my assigment , its really confusing me for days ive tried everything and nothing seems to work for me .. basically this is what i am meant to do ..
1. Design and develop a Graphical User Interface (GUI) for this application. The interface should comprise two buttons. A load button that loads the information from the text file and a display button, which when pressed displays the students’ ids of those students who answered all questions correctly.
(20 marks) .... i have this done
2. Provide the code to declare and create a two-dimensional String array to store data from answers.txt. Also, develop the actionPerformed method for the load button. When the user presses the load button the information should be read from answers.txt into this array.
(25 marks) this part is really confusing me , as i am unsure how to create an array that would link the answers.txt file to it and then load it ? :/
3. Develop the actionPerformed method for the display button. When the user presses the display button the students’ ids of those students who answered all questions correctly are displayed. The correct solution is TTFFTTFFTT. (Hint use JOptionPane to display)
really would appreciate your help and be very thankful