Signed-off-by:Roland Häder <roland@mxchange.org>
// Set frame instance
this.frame = new JFrame(AddressbookApplication.printableTitle());
- // Set default close operation
- this.frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
-
// Set client here
this.setClient(client);
}
// Debug line
this.getLogger().trace("CALLED!");
+ // Set default close operation
+ this.frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
+
// Register shutdown listener
this.frame.addWindowListener(new WindowAdapter() {
/**