Fix <<issue 26>> Info General window not working on swing

https://bitbucket.org/idempiere/idempiere/issue/26
This commit is contained in:
Carlos Ruiz 2011-05-24 23:38:54 -05:00
parent 27e3a3fc88
commit 6a2ee953cb
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,7 @@ import javax.swing.JLabel;
import org.adempiere.plaf.AdempierePLAF; import org.adempiere.plaf.AdempierePLAF;
import org.compiere.apps.ADialog; import org.compiere.apps.ADialog;
import org.compiere.apps.AEnv;
import org.compiere.apps.ALayout; import org.compiere.apps.ALayout;
import org.compiere.apps.ALayoutConstraint; import org.compiere.apps.ALayoutConstraint;
import org.compiere.minigrid.IDColumn; import org.compiere.minigrid.IDColumn;
@ -109,6 +110,9 @@ public class InfoGeneral extends Info
textField1.requestFocus(); textField1.requestFocus();
if (value != null && value.length() > 0) if (value != null && value.length() > 0)
executeQuery(); executeQuery();
p_loadedOK = true;
AEnv.positionCenterWindow(frame, this);
} // InfoGeneral } // InfoGeneral
/** String Array of Column Info */ /** String Array of Column Info */