0

I would like to disable the window in my swing application here is a picture to demonstrate what I mean: enter image description here

My paint skills are bad but I hope you understand me, the result should look like this: enter image description here

The borders are not the issue since it's easy to edit them.

Imri Persiado
  • 1,857
  • 8
  • 29
  • 45

2 Answers2

4

You need to set the frame as undecorated:

frame.setUndecorated(true);
martinez314
  • 12,162
  • 5
  • 36
  • 63
2

You should try frame.setundecorated(true);

DRastislav
  • 1,892
  • 3
  • 26
  • 40