public void showMsg(Displayable form) {
        Alert success = new Alert("Login Successfully", "Your Login Process is completed!", null, AlertType.INFO);
        //  success.setImage(img2);
        Form login = (Form) form;
        /*  TextField userName = (TextField) login.get(0);
         TextField password = (TextField) login.get(1);
         userName.setString("");
         password.setString("");*/
        for (int i = 0; i < login.size(); i++) {
            if (login.get(i) instanceof TextField) {
                TextField textfield = (TextField) login.get(i);
                textfield.setString("");
                /* if (textfield.getLabel().equalsIgnoreCase("")) {
                 }
                 if (textfield.getLabel().equalsIgnoreCase("")) {
                 }*/
            }
        }

        display.setCurrent(success, form);
    }