Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

(English) ADVANCED Drawing - Undo Extension

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
82 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 18, 2011

So, in this extension, we add an undo button to the drawing application that we built ..

Thanks to Ali1471986 for suggesting that we make this tutorial !

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • @pakistanzeinab Yeah, I wasn't prepared, as I said :P

    And I wanted to have fun and show people how it can be hard to make a simple modification to a code that you haven't worked on for a while .. because you lost the familiarity

  • Hmm you took quite a while to explain such an easy thing no offense

    This is all I did

    public void undo() { int index = shapes.size() - 1; shapes.remove(index);

    } and of course repainting in actionPerformed

  • @MrMoodyKSA You got me wondering .. Who would ever like this video ... Then I realized.

  • I PRESSED LIKE BECAUSE I CAN D;

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more