From fd4b6ec354c2b14c30e0b55b39a8b825fb6aa258 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Wed, 29 Nov 2006 14:57:21 +0000 Subject: [PATCH] * Display splash after logout and relogin --- client/src/org/compiere/apps/AEnv.java | 2 ++ client/src/org/compiere/apps/AMenu.java | 3 +++ 2 files changed, 5 insertions(+) diff --git a/client/src/org/compiere/apps/AEnv.java b/client/src/org/compiere/apps/AEnv.java index 13057917fc..6425e96470 100644 --- a/client/src/org/compiere/apps/AEnv.java +++ b/client/src/org/compiere/apps/AEnv.java @@ -573,6 +573,8 @@ public final class AEnv } Env.logout(); + Splash.getSplash().setVisible(true); + //reload new AMenu(); } diff --git a/client/src/org/compiere/apps/AMenu.java b/client/src/org/compiere/apps/AMenu.java index 54ba96bf16..a3b4a82929 100644 --- a/client/src/org/compiere/apps/AMenu.java +++ b/client/src/org/compiere/apps/AMenu.java @@ -57,6 +57,9 @@ public final class AMenu extends CFrame // Login initSystem (splash); // login splash.setText(Msg.getMsg(m_ctx, "Loading")); + splash.toFront(); + splash.paint(splash.getGraphics()); + // Adempiere.startupEnvironment(true); // Load Environment MSession.get (Env.getCtx(), true); // Start Session