This application draws a set of 100 faces arranged in a matrix of 10 rows and 10 columns. The faces are randomly generated using a class called FaceRandomizer. Clicking the Randomize button at the bottom will change the faces to random smiles and colors.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
bin
src
.classpath
.gitattributes
.project
FaceTiles_Maldonado.PNG
HW7_FaceTiles.docx
README.md
faces.txt

README.md

FaceTiles

The application draws a set of 100 faces arranged in a matrix of 10 rows and 10 columns. The faces are randomly generated using a class called FaceRandomizer. Clicking the Randomize button at the bottom will change the faces to random smiles and colors.

The application also features a main menu. The File menu has two menu items, Save and Exit. The Save menu item saves information about the faces (their row, column, mouth type, and color components, all of which are included in the Face class’ toString representation) to a file named faces.txt. The Exit menu item closes the program. The other menu on the main menu bar is the Edit menu. The Edit menu has a Randomize menu item that does the same thing as the Randomize button at the bottom of the frame.