Top Panel: Title with a JLabel reading 'Fortune Teller' with an
ImageIcon
depicting a fortune-teller icon sourced from
Middle Panel: A JTextArea
or similar depicting the fortunes
Bottom Panel: Two buttons, "Read My Fortune!" and "Quit".
Reading a fortune appends to the text area, and fortunes are not to be repeated twice in a row. Create separate fonts for title, buttons, and display. The program must be reasonably visually appealing.
This project uses the gradle application
plugin. To run, simply type gradle run
on the command line. Alternatively, if your IDE offers a UI for selecting tasks,
just find "run" under the application
group.