开发者

how to remove the borders in JInternalFrame?

开发者 https://www.devze.com 2023-01-14 16:36 出处:网络
i was able to remove the title bar from the 开发者_StackOverflow中文版JInternalFrame but i don\'t know how to remove the borders.To remove the border simply call frame.setBorder(null);

i was able to remove the title bar from the 开发者_StackOverflow中文版JInternalFrame but i don't know how to remove the borders.


To remove the border simply call frame.setBorder(null);

Any border that is null is simply not shown.


To remove all borders, simply call:

this.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
0

精彩评论

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