X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fnet%2Fsf%2Fopenrocket%2Fgui%2Fdialogs%2FExampleDesignDialog.java;fp=src%2Fnet%2Fsf%2Fopenrocket%2Fgui%2Fdialogs%2FExampleDesignDialog.java;h=13a80c075b1842f27796bddb7c9bf9bed91b892f;hb=b3c3c1071dfdca4c6b3eb9935dc461201abdaf60;hp=b6d1ec423e96cbc4ad36ed65810d32f885317aa6;hpb=fa61335265b0af5f9bc8800df953d41cde2d75f6;p=debian%2Fopenrocket diff --git a/src/net/sf/openrocket/gui/dialogs/ExampleDesignDialog.java b/src/net/sf/openrocket/gui/dialogs/ExampleDesignDialog.java index b6d1ec42..13a80c07 100644 --- a/src/net/sf/openrocket/gui/dialogs/ExampleDesignDialog.java +++ b/src/net/sf/openrocket/gui/dialogs/ExampleDesignDialog.java @@ -88,8 +88,8 @@ public class ExampleDesignDialog extends JDialog { this.add(panel); this.pack(); this.setLocationByPlatform(true); - GUIUtil.installEscapeCloseOperation(this); - GUIUtil.setDefaultButton(openButton); + + GUIUtil.setDisposableDialogOptions(this, openButton); }