This is the result I'm after:
If it's not possible, that's all I need to hear. If it is possible, I would appreciate an explanation of how to make it happen. I am going to have a menu bar so people can close the window with that.
You can use an undecorated JFrame
. Then you just add a Border
to the JRootPane
of the frame:
JFrame frame = new JFrame(...);
frame.setUndecorated( true );
frame.getRootPane().setBorder( new MatteBorder(4, 4, 4, 4, Color.BLUE) );
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With