Assignment%209%20spec

Assignment%209%20spec - Csc335(OO Programming and Design...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Csc335 (OO Programming and Design) Assignment 9 Fall 2011 1 Assignment 9: JavaBody, part 7 Objective: Advanced Swing Assigned: 1 November 2011 Due: 10 November 2011 at 11:59 pm on d2l (along with Assignment 8). Overview: In this assignment, you'll be making the view for the world that was created. In the last GUI assignment, JLabels were used in order to render graphics. That isn't an efficient way to do graphics so in this assignment we'll be using Component's paint(Graphics g) method. We'll also use more of JOptionPane 's functionality compared to the previous Swing assignment. When the GUI starts, the NewGame (and Continue ) button should now switch to a WorldView rather than a BattleView . The BattleView will be triggered by the WorldView now. The changeView() method in MasterView needs to modified to accept Views.WORLD as a parameter. When the continue button is pushed, you need to read in the Navigator, and set up the WorldView. If no file exists, pressing the continue button should send an appropriate error message (JOptionPane, for example). When the player selects exit, the game needs to save the Navigator.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Assignment%209%20spec - Csc335(OO Programming and Design...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online