Examples of PasswordField


Examples of javafx.scene.control.PasswordField

            }
        } catch (Exception exc) {
        }
        USER_TXT.setText(def_user);

        /**
         * Carico i vari vaori del login, ed imposto gli eventi da gestire.
         */
        final PasswordField PASS_TXT = (PasswordField) getFromCacheNode("pass_txt");

        PASS_TXT.setText("");
        PASS_TXT.requestFocus();

        if (DEBUG) {
            PASS_TXT.setText("1234567890");
        }

        btn_exit = (Button) getFromCacheNode("exit_btn");
        btn_exit.setFocusTraversable(false);
        btn_exit.setOnAction((ActionEvent e) -> {
            __sysExit(__EXIT_NO_ERROR__);
        });

        login_btn = (Button) getFromCacheNode("login_btn");
        login_btn.setFocusTraversable(false);

        EventHandler<ActionEvent> eh = (ActionEvent event) -> {
            try {
                checkLogin(USER_TXT, PASS_TXT);
            } catch (Exception ex) {
                ex.printStackTrace();
            }
        };

        login_btn.setOnAction(eh);
        USER_TXT.setOnAction(eh);
        PASS_TXT.setOnAction(eh);

        //--------------------------------------------------------------------//
        //--------------------------------------------------------------------//
        //--------------------------------------------------------------------//
        Label tips_login = (Label) getFromCacheNode("tips_login");
View Full Code Here

Examples of javafx.scene.control.PasswordField

            }
        } catch (Exception exc) {
        }
        USER_TXT.setText(def_user);

        /**
         * Carico i vari vaori del login, ed imposto gli eventi da gestire.
         */
        final PasswordField PASS_TXT = (PasswordField) getFromCacheNode("pass_txt");

        PASS_TXT.setText("");
        PASS_TXT.requestFocus();

        if (DEBUG) {
            PASS_TXT.setText("1234567890");
        }

        btn_exit = (Button) getFromCacheNode("exit_btn");
        btn_exit.setFocusTraversable(false);
        btn_exit.setOnAction((ActionEvent e) -> {
            UtilityFX.sysExit(__EXIT_NO_ERROR__);
        });

        login_btn = (Button) getFromCacheNode("login_btn");
        login_btn.setFocusTraversable(false);

        EventHandler<ActionEvent> eh = (ActionEvent event) -> {
            try {
                checkLogin(USER_TXT, PASS_TXT);
            } catch (Exception ex) {
                ex.printStackTrace();
            }
        };

        login_btn.setOnAction(eh);
        USER_TXT.setOnAction(eh);
        PASS_TXT.setOnAction(eh);

        //--------------------------------------------------------------------//
        //--------------------------------------------------------------------//
        //--------------------------------------------------------------------//
        Label tips_login = (Label) getFromCacheNode("tips_login");
View Full Code Here

Examples of javafx.scene.control.PasswordField

            }
        } catch (Exception exc) {
        }
        USER_TXT.setText(def_user);

        /**
         * Carico i vari vaori del login, ed imposto gli eventi da gestire.
         */
        final PasswordField PASS_TXT = (PasswordField) getFromCacheNode("pass_txt");

        PASS_TXT.setText("");
        PASS_TXT.requestFocus();

        if (DEBUG) {
            PASS_TXT.setText("1234567890");
        }

        btn_exit = (Button) getFromCacheNode("exit_btn");
        btn_exit.setFocusTraversable(false);
        btn_exit.setOnAction((ActionEvent e) -> {
            UtilityFX.sysExit(__EXIT_NO_ERROR__);
        });

        login_btn = (Button) getFromCacheNode("login_btn");
        login_btn.setFocusTraversable(false);

        EventHandler<ActionEvent> eh = (ActionEvent event) -> {
            try {
                checkLogin(USER_TXT, PASS_TXT);
            } catch (Exception ex) {
                ex.printStackTrace();
            }
        };

        login_btn.setOnAction(eh);
        USER_TXT.setOnAction(eh);
        PASS_TXT.setOnAction(eh);

        //--------------------------------------------------------------------//
        //--------------------------------------------------------------------//
        //--------------------------------------------------------------------//
        Label tips_login = (Label) getFromCacheNode("tips_login");
View Full Code Here

Examples of javafx.scene.control.PasswordField

    public void setValueInPassword(char[] password) {
        clear();
        boolean prec_disa = isEditorDisable();
        hidden_field = null;
        clear_field = null;
        pass_field = new PasswordField();
        pass_field.setDisable(prec_disa);
        pass_field.setPrefWidth(pane.getPrefWidth());
        pass_field.setText(new String(password));
        pane.getChildren().add(pass_field);
        setTypeImageCombo((int) SensibleValueTypeListener.PASS_VALUE_TYPE);
View Full Code Here

Examples of javafx.scene.control.PasswordField

    public void setValueInPassword(char[] password) {
        clear();
        boolean prec_disa = isEditorDisable();
        hidden_field = null;
        clear_field = null;
        pass_field = new PasswordField();
        pass_field.setDisable(prec_disa);
        pass_field.setPrefWidth(pane.getPrefWidth());
        pass_field.setText(new String(password));
        pane.getChildren().add(pass_field);
        setTypeImageCombo((int) SensibleValueTypeListener.PASS_VALUE_TYPE);
View Full Code Here

Examples of javafx.scene.control.PasswordField

    public void setValueInPassword(char[] password) {
        clear();
        boolean prec_disa = isEditorDisable();
        hidden_field = null;
        clear_field = null;
        pass_field = new PasswordField();
        pass_field.setDisable(prec_disa);
        pass_field.setPrefWidth(pane.getPrefWidth());
        pass_field.setText(new String(password));
        pane.getChildren().add(pass_field);
        setTypeImageCombo((int) SensibleValueTypeListener.PASS_VALUE_TYPE);
View Full Code Here

Examples of net.laubenberger.bogatyr.view.swing.PasswordField

        .getModuleData().getFile(KEY_UNSCRAMBLE_OUTPUT).getAbsolutePath(),
        localizer.getTooltip(HelperResource.RES_LABEL_UNSCRAMBLE_OUTPUT));
    tfOutput.setEditable(false);
    cbCodecs = new ComboBox(CryptoSymmetricAlgo.values(),
        localizer.getTooltip(HelperResource.RES_LABEL_UNSCRAMBLE_CODEC));
    password = new PasswordField(localizer.getTooltip(HelperResource.RES_LABEL_UNSCRAMBLE_PASSWORD));

    actionGo = new ActionGo();
    final ActionAbstract actionAbort = new ActionAbort();

    final Panel panel = new Panel(new BorderLayout());
View Full Code Here

Examples of net.laubenberger.bogatyr.view.swing.PasswordField

        .getModuleData().getFile(KEY_SCRAMBLE_OUTPUT).getAbsolutePath(),
        localizer.getTooltip(HelperResource.RES_LABEL_SCRAMBLE_OUTPUT));
    tfOutput.setEditable(false);
    cbCodecs = new ComboBox(CryptoSymmetricAlgo.values(),
        localizer.getTooltip(HelperResource.RES_LABEL_SCRAMBLE_CODEC));
    password1 = new PasswordField(localizer.getTooltip(HelperResource.RES_LABEL_SCRAMBLE_PASSWORD));
    password2 = new PasswordField(localizer.getTooltip(HelperResource.RES_LABEL_SCRAMBLE_PASSWORD_VERIFY));

    actionGo = new ActionGo();
    final ActionAbstract actionAbort = new ActionAbort();

    final Panel panel = new Panel(new BorderLayout());
View Full Code Here

Examples of nextapp.echo2.app.PasswordField

        }
    }

    protected void createCompontents() {
        this.txUserName = new JbsTextField();
        this.txPassword = new PasswordField();
        this.btnLogin = new JbsButton(JbsL10N.getString("Login.btnLogin"));
        this.btnLogin.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;
View Full Code Here

Examples of nextapp.echo2.app.PasswordField

    this.initPnMain();
  }
 
  protected void createCompontents() {
    this.txUserName = new JbsTextField();
    this.txPassword = new PasswordField();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.