i was able to remove the title bar from the JInternalFrame but i don't know how to remove the borders.
Asked
Active
Viewed 8,055 times
2 Answers
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
Miguel Hernandez
- 11
- 1