7

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

BenMorel
  • 34,448
  • 50
  • 182
  • 322
Lalchand
  • 7,627
  • 26
  • 67
  • 79

2 Answers2

10

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

Any border that is null is simply not shown.

jjnguy
  • 136,852
  • 53
  • 295
  • 323
1

To remove all borders, simply call:

this.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
honk
  • 9,137
  • 11
  • 75
  • 83