1. How to draw a rectangle on a java applet using mouse drag event and make it stay stackoverflow.comI have my program that can draw rectangles. I have two problems I can't solve. After I draw the rectangle it won't stay. The only code I have that clears the ... |