开发者

Java Layout Insets

board image

the above is a board layout done by using gridbaglayout.

i would like insets of 5 pixels around the whole boa开发者_如何学Pythonrd but not between each label.

i scaned the api and havent come up with something that lets me do this.

does this mean i have to nest my board gui inside another gridbaglayout with the insets desired?

thank you.


You could just add an empty border to the containing component

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜