开发者

How to create a resizable rectangle in java swing? [duplicate]

This question already has an answer here: How can i create resizable rectangle in java swing? 开发者_StackOverflow (1 answer) Closed 9 years ago.

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 :)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜