This is the result that I get after:
If this is not possible, then all I need to hear. If possible, I would appreciate an explanation of how this happened. I will have a menu bar so people can close the window with this.
You can use unecorated JFrame. Then you just add Borderto the JRootPaneframes:
JFrame
Border
JRootPane
JFrame frame = new JFrame(...); frame.setUndecorated( true ); frame.getRootPane().setBorder( new MatteBorder(4, 4, 4, 4, Color.BLUE) );
Source: https://habr.com/ru/post/1622272/More articles:How to declare a constant file with Ember.js - ember.jsHow to ignore invalid arguments with getopts and continue parsing? - syntaxNumber of sorting bubbles in an array without sorting bubbles - c ++pandas.read_csv on Spark (IBM Bluemix) - pythonjava PreparedStatement Arraylist SQL - javaIs there a scipy / numpy method to get indices for the closest interpolation? - pythonhow to convert sketch application to android layout - androidThe icon does not appear on the taskbar for the Windows 10 UWP application - uwpConvert MySQL tinyint booleans (0/1) to PHP booleans (true / false) - performanceDatabaseGeneratedOption not working in Dapper.FastCRUD - c #All Articles