[Schmitzm-commits] r1599 - trunk/schmitzm-core/src/main/java/de/schmitzm/swing

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sun May 29 21:49:05 CEST 2011


Author: alfonx
Date: 2011-05-29 21:49:05 +0200 (Sun, 29 May 2011)
New Revision: 1599

Modified:
   trunk/schmitzm-core/src/main/java/de/schmitzm/swing/AtlasDialog.java
Log:


Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/swing/AtlasDialog.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/swing/AtlasDialog.java	2011-05-29 19:48:41 UTC (rev 1598)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/swing/AtlasDialog.java	2011-05-29 19:49:05 UTC (rev 1599)
@@ -132,36 +132,14 @@
 	 * MigLayout hs troubles when Swing wraps HTML JLabels.. This is a bugfix
 	 */
 	public void pack() {
-		// super.pack();
-		// //
-		// SwingUtilities.invokeLater(new Runnable() {
-		//
-		// @Override
-		// public void run() {
-		// // boolean v = isVisible();
-		// // boolean m = isModal();
-		// // setModal(false);
-		// // setVisible(true);
-		// // LangUtil.sleepExceptionless(150);
-		// AtlasDialog.super.pack();
-		// // setVisible(v);
-		// // setModal(m);
-		// }
-		// });
+	
 
-		// super.pack();
-
-		// boolean v = isVisible();
-		// boolean m = isModal();
-		// setModal(false);
-		// setVisible(true);
-
 		AtlasDialog.super.pack();
 
 		// TODO The next two lines are only needed if the LayoutManager is
 		// MigLayout and wrapped multi-line JLabels aer part
 		if (getContentPane().getLayout() instanceof MigLayout) {
-			LangUtil.sleepExceptionless(150);
+			LangUtil.sleepExceptionless(160);
 			AtlasDialog.super.pack();
 		}
 		// setVisible(v);



More information about the Schmitzm-commits mailing list