* (40 points) Process and print out the tokens the user entered
* (10 points) Compute correctly and print out the sum and product
* (10 points) Terminate when the line starts with '.'
* (20 points) Loop only once through
Inheriting Bridge-Scene Painter (Regular Credit: 55 pts)
(5) Creat a view class, tagged as 'InheritingBridgeScenePainter'
(5) The view class extends (directly or indirectly) Component
(10) The view class registers as a listener of all mode
Observable Bean Announcing PropertyChangeEvent (35 pts)
(20) Each atomic shape class implements PropertyListenerRegisterer, no unnecessary duplication of notification code
(5) You have a list that stores all of your observers
(10) Each set
Refactoring Shape Classes (30 pts)
(10) Locatable Class and Interface
Create a class and interface for x and y properties and tag the class as 'Locatable'
Refactor the shape classes/interfaces to extend this class and interface as necessar
Scene Part (30 pts)
(10) Add gorge and bridge in the scene
(10) Add standing areas for knights and guard, and tag the getters as 'KnightArea' and 'GuardArea' respectively
(5) Initialize the guard to be the right side, knight are to be left
Angle/V Shape Class (20 pts)
(15)Implement the 'V shape' or 'angle shape' composite shape class
(5) Taggled 'Angle' for this class
Avatars (45 pts)
(20) Avatars are composed of 5 atomic shapes as specified
(5) Taggled 'Avatar' for this cl
Part 1: Scanner Bean (30 points)
(20 points) Correct output. Your program should show the correct output for a given input string
(10 points) Correctly using Array to store the token objects.
Part 1: Token Classes for commands (15 points)
(5 points) Ev
Scanner Bean (25 points)
(20 points) Correct output. Program returns the correct output for a given input string, formatted as described in the assignment.
(5 points) Scanner follows bean format
Token Classes (40 points)
(15 points) Your p
(20 points) Implement the Bean class correctly
(20 points) Recognize and print numbers and words correctly
(30 points) Recognize and print quoted string correctly
(5 points) Screenshot of demonstration of `step over'
Precondition Methods and Extended Console View(30 pts)
(12) Public precondition method for each method: approach, say, passed, and failed, and use assert the precondition methods in these there methods
(12) Notify all observers of the scen