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
pakistanzeinab 1 month ago
@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
Mazyod 1 month ago
I PRESSED LIKE BECAUSE I CAN D;
MrMoodyKSA 5 months ago
@MrMoodyKSA You got me wondering .. Who would ever like this video ... Then I realized.
Mazyod 5 months ago
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
pakistanzeinab 1 month ago
@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
Mazyod 1 month ago
I PRESSED LIKE BECAUSE I CAN D;
MrMoodyKSA 5 months ago
@MrMoodyKSA You got me wondering .. Who would ever like this video ... Then I realized.
Mazyod 5 months ago