Revision: 9014
http://sourceforge.net/p/fudaa/svn/9014
Author: bmarchan
Date: 2015-02-12 14:25:24 +0000 (Thu, 12 Feb 2015)
Log Message:
-----------
Position des fenetres dialogue A propos et Licence et autres...
Modified Paths:
--------------
trunk/framework/ctulu-bu/src/main/java/com/memoire/bu/BuDialog.java
Modified: trunk/framework/ctulu-bu/src/main/java/com/memoire/bu/BuDialog.java
===================================================================
--- trunk/framework/ctulu-bu/src/main/java/com/memoire/bu/BuDialog.java 2015-02-12 13:52:40 UTC (rev 9013)
+++ trunk/framework/ctulu-bu/src/main/java/com/memoire/bu/BuDialog.java 2015-02-12 14:25:24 UTC (rev 9014)
@@ -272,10 +272,11 @@
pack();
//setSize(getPreferredSize());
- Point p = getLocation();
- if ((p.x == 0) && (p.y == 0)) {
- setLocation((ecran.width - d.width) / 2, (ecran.height - d.height) / 2);
- }
+// Point p = getLocation();
+// if ((p.x == 0) && (p.y == 0)) {
+// setLocation((ecran.width - d.width) / 2, (ecran.height - d.height) / 2);
+// }
+ setLocationRelativeTo(frame_);
setResizable(resizable);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|