How to create a resizable rectangle in java swing? [duplicate]
I'm repeating same question, I need to create a rectangle which is re-sizable, in java swing.
How can i do this?
Any help is appreciated.
Rectangle r = new Rectangle(0, 0, 100, 200);
r.grow(100, 100); // resize :)
精彩评论