开发者

Java JFrame Resizing

I know I can use componentResized to listen for when the user resizes a window. This isn't a very nice solution. If I do this and add a resize() method for the children components, then it waits until the user finishes the resizing before it calls the resize() method. Is there a way to resize the child elements as the res开发者_JAVA百科ize happens?


The listener with componentResized() is the nice solution. Using listener in swing isn't a bad solution at all.

You can see the solution you want on oracle.com

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜