开发者

leaving gap from top in panel

开发者 https://www.devze.com 2023-03-02 12:19 出处:网络
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

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

精彩评论

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