2
0

Attempt to fix copy issue when Java app closes after copying.

This commit is contained in:
Maarten Billemont 2014-12-31 14:04:14 -05:00
parent 778533ac7f
commit bea6ac5e68

View File

@ -104,10 +104,7 @@ public class PasswordFrame extends JFrame implements DocumentListener {
passwordField.setText( null ); passwordField.setText( null );
siteNameField.setText( null ); siteNameField.setText( null );
if (getDefaultCloseOperation() == WindowConstants.EXIT_ON_CLOSE) dispose();
System.exit( 0 );
else
dispose();
} }
} ); } );
} }