Spring 2012

Lab04
GUI Mockup

Due: Wednesday March 28, 2012 11:59 PM

Lab04 - GUI Mockup

Requirements

Program compiles and runs without errors5 pts
Class and Java files submitted in JAR format5 pts
Jar file is executable10 pts
Interface of application matches what is expected80 pts
Total100 pts

Resources

Objective

To practice creating GUI layouts in Java

Instructions

For this lab you will need to duplicate the attached screenshot of a Java graphical interface as closely as possible.

In the attached screenshot you'll see that the interface needs to contain two JTextAreas (the big white empty boxes), two JButtons (take one and take two), and two JLabels (Game Moves and Stones Remaining). Whatever additional JPanels and layout managers that need to be created in order to reproduce the layout should be used.

The JButtons on the interface do not need to function in any way. They just need to be present in the interface along with the other components.