protected Border getMenuBarBorder() {
			JMenuBar menuBar = rootPane.getJMenuBar();
			return hasVisibleEmbeddedMenuBar( menuBar ) ? menuBar.getBorder() : null;
		}
Same as {@link Component#contains(int, int)}, but not using that method
because it may be overridden by custom components and invoke code that
tries to request AWT tree lock on 'AWT-Windows' thread.
This could freeze the application if AWT tree is already locked on 'AWT-EventQueue' thread.
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatTitlePane.java