开发者

leaving gap from top in panel

leaving gap from top in panel

I have taken this snapshot from netbea开发者_如何学JAVAns.what is the method to add vertical gap from jpanel ? (i.e vertical gap from panel to the first component )


There are several ways. Either you let the layout manager take care of it, or you could use a BorderFactory.createEmptyBorder.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜