org.adempiere.webui.apps.ProcessDialog.startProcess: fix indentation

This commit is contained in:
teo_sarca 2008-07-31 18:07:44 +00:00
parent 6b49111199
commit 05de2904a2
1 changed files with 7 additions and 7 deletions

View File

@ -254,10 +254,10 @@ public class ProcessDialog extends Window implements EventListener//, ASyncProce
public void startProcess()
{
m_pi.setPrintPreview(true);
if (!getDesktop().isServerPushEnabled())
getDesktop().enableServerPush(true);
this.lockUI(m_pi);
Runnable runnable = new Runnable() {
public void run() {
@ -267,11 +267,11 @@ public class ProcessDialog extends Window implements EventListener//, ASyncProce
Executions.activate(desktop);
try {
ProcessCtl.process(null, m_WindowNo, parameterPanel, m_pi, null);
} finally{
unlockUI(m_pi);
//release full control of desktop
Executions.deactivate(desktop);
}
} finally{
unlockUI(m_pi);
//release full control of desktop
Executions.deactivate(desktop);
}
} catch (DesktopUnavailableException e) {
log.log(Level.SEVERE, e.getLocalizedMessage(), e);
} catch (InterruptedException e) {