mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 22:10:54 +03:00
Extras: FlatInspector: removed println (fixes #263)
This commit is contained in:
@@ -249,12 +249,10 @@ public class FlatInspector
|
|||||||
|
|
||||||
// add/remove window listener
|
// add/remove window listener
|
||||||
if( enabled ) {
|
if( enabled ) {
|
||||||
System.out.println( "add "+window );
|
|
||||||
window = SwingUtilities.windowForComponent( rootPane );
|
window = SwingUtilities.windowForComponent( rootPane );
|
||||||
if( window != null )
|
if( window != null )
|
||||||
window.addWindowListener( windowListener );
|
window.addWindowListener( windowListener );
|
||||||
} else {
|
} else {
|
||||||
System.out.println( "rem" );
|
|
||||||
if( window != null ) {
|
if( window != null ) {
|
||||||
window.removeWindowListener( windowListener );
|
window.removeWindowListener( windowListener );
|
||||||
window = null;
|
window = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user