hi,
how to undo the last action printed on an
applet using undo button....
im having an applet in which i can draw some lines,draw some rectangle's etc, using some buttons. i want to introduce a new button in my applet "undo". the function of this button is ,when clicked it will undo the (erase) lact action performed.
can anybody help me how to do this "undo" functionality?