From tchemit@users.labs.libre-entreprise.org Sun Apr 27 10:25:24 2008
From: tchemit@users.labs.libre-entreprise.org
To: buix-commits@list.nuiton.org
Subject: [Buix-commits] r623 - trunk/lutinui/src/main/java/org/codelutin/ui
Date: Sun, 27 Apr 2008 10:25:24 +0200
Message-ID: <20080427082524.85C9B461B0B@labs.libre-entreprise.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============9037600610117039031=="

--===============9037600610117039031==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Author: tchemit
Date: 2008-04-27 08:25:24 +0000 (Sun, 27 Apr 2008)
New Revision: 623

Modified:
   trunk/lutinui/src/main/java/org/codelutin/ui/UIHelper.java
Log:
par default toutes les ui dispose a leur fermeture

Modified: trunk/lutinui/src/main/java/org/codelutin/ui/UIHelper.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/lutinui/src/main/java/org/codelutin/ui/UIHelper.java	2008-04-27 08:=
25:00 UTC (rev 622)
+++ trunk/lutinui/src/main/java/org/codelutin/ui/UIHelper.java	2008-04-27 08:=
25:24 UTC (rev 623)
@@ -60,6 +60,7 @@
         };
         rootPane.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStrok=
e.getKeyStroke("ESCAPE"), "quit");
         rootPane.getActionMap().put("quit", quitAction);
+        ui.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
     }
=20
     public static ImageIcon createActionIcon(String name) {


--===============9037600610117039031==--


