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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started