diff --git a/designer_base/src/com/fr/design/extra/LoginWebBridge.java b/designer_base/src/com/fr/design/extra/LoginWebBridge.java index 330b9fc033..3fb83f5faf 100644 --- a/designer_base/src/com/fr/design/extra/LoginWebBridge.java +++ b/designer_base/src/com/fr/design/extra/LoginWebBridge.java @@ -20,7 +20,7 @@ import netscape.javascript.JSObject; import javax.swing.JDialog; import javax.swing.SwingUtilities; -import java.awt.Desktop; +import java.awt.*; import java.io.UnsupportedEncodingException; import java.net.URI; import java.net.URLEncoder; @@ -57,6 +57,7 @@ public class LoginWebBridge { private static final int TIME_OUT = 10000; private static final String LOGIN_SUCCESS = "ok"; private static final String LOGIN_FAILED = "failed"; + private static final Color LOGIN_BACKGROUND = new Color(184, 220, 242); private static LoginWebBridge helper; private UIDialog uiDialog; @@ -250,6 +251,7 @@ public class LoginWebBridge { private void loginSuccess(String username) { closeWindow(); uiLabel.setText(username); + uiLabel.setBackground(LOGIN_BACKGROUND); } /**