how to remove the borders in JInternalFrame?

前端 未结 2 1949
我寻月下人不归
我寻月下人不归 2021-01-18 05:18

i was able to remove the title bar from the JInternalFrame but i don\'t know how to remove the borders.

相关标签:
2条回答
  • 2021-01-18 06:16

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

    Any border that is null is simply not shown.

    0 讨论(0)
  • 2021-01-18 06:18

    To remove all borders, simply call:

    this.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
    
    0 讨论(0)
提交回复
热议问题