UI defaults inspector: exclude window from being blocked by modal dialogs (issue #1048)
Some checks failed
CI / build (11) (push) Has been cancelled
CI / build-on (17, ) (push) Has been cancelled
CI / build-on (21, ) (push) Has been cancelled
CI / build-on (21, 25) (push) Has been cancelled
CI / build-on (8, ) (push) Has been cancelled
CI / snapshot (push) Has been cancelled
CI / release (push) Has been cancelled

This commit is contained in:
Karl Tauber
2025-10-20 19:32:22 +02:00
parent 36d5685f4c
commit 015645e173
2 changed files with 7 additions and 0 deletions

View File

@@ -1,6 +1,12 @@
FlatLaf Change Log FlatLaf Change Log
================== ==================
## 3.7-SNAPSHOT
- Extras: UI defaults inspector: Exclude inspector window from being blocked by
modal dialogs. (issue #1048)
## 3.6.2 ## 3.6.2
#### New features and improvements #### New features and improvements

View File

@@ -202,6 +202,7 @@ public class FlatUIDefaultsInspector
JFrame frame = new JFrame(); JFrame frame = new JFrame();
frame.setTitle( "UI Defaults Inspector" ); frame.setTitle( "UI Defaults Inspector" );
frame.setDefaultCloseOperation( WindowConstants.DISPOSE_ON_CLOSE ); frame.setDefaultCloseOperation( WindowConstants.DISPOSE_ON_CLOSE );
frame.setModalExclusionType( Dialog.ModalExclusionType.TOOLKIT_EXCLUDE );
frame.addWindowListener( new WindowAdapter() { frame.addWindowListener( new WindowAdapter() {
@Override @Override
public void windowClosed( WindowEvent e ) { public void windowClosed( WindowEvent e ) {