Question: Hi, I've been having issues on this program for my java class. The goal of this project is to create a simple GUI flashcard program.

Hi, I've been having issues on this program for my java class.

The goal of this project is to create a simple GUI flashcard program. Create a data structure to hold a series of flashcard objects. These objects should have at least two properties or attributes (question and a related answer) in addition to any other attributes and or methods needed. For this project, simply hard code in values for the flashcard objects in the driver for your program.

The flashcard data structure should be randomized. Each time the program is run the order of the flashcards should be unique. Do some research the easy solution to this is only a few lines of code.

The GUI should consist of a single JLabel and JButton. On starting, the JLabel should display a welcome message and the JButton should display Start. After starting the first question should been displayed and the button should display Click for Answer. Upon the next click the label should display the answer and the button should display Next Question.

After the last question has been answered the program should display a dialog box asking the user if they want to go through the questions again. The main button should be disabled.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!