how to remove the borders in JInternalFrame?
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));
精彩评论