jdalbey

Actions lab

Apr 14th, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. Lab with Actions
  2.  
  3. Modify RotatableWord project you completed for homework 9.
  4. Modify the ButtonFrame class.
  5. Add a JMenuBar with a menu "Rotate" that contains JMenuItems for "Left" and "Right."
  6. Use Action to encapsulate the desired action, and use the same action
  7. in both the menu and for the buttons.
  8.  
  9. Submit the modifed ButtonFrame.java class and any Action classes you create.
Add Comment
Please, Sign In to add comment