How to keep the rectangle that I drew on the Jpanel when I draw another rectangle?

后端 未结 0 1707
无人及你
无人及你 2021-02-19 07:19

I have this code in JAVA that draws a rectangle like the paint app when I drag my mouse on the panel. Every time I click and drag to make a new rectangle, the previous one disap

相关标签:
回答
  • 消灭零回复
提交回复
热议问题