Package de.chris_soft.utilities.swing.wizard

Examples of de.chris_soft.utilities.swing.wizard.WizardTextInputListener


        p2.getComponentByName(PROP_KEY_RECEIVER_MAIL_ADDRESS).setEnabled(checked);
        p2.getComponentByName(PROP_KEY_SET_FULLTEXT_INTO_MAIL_BODY).setEnabled(checked);
        p2.getComponentByName(PROP_KEY_ADD_DOCUMENT_AS_ATTACHMENT).setEnabled(checked);
      }
    });
    p2.addTextInput("Sender mail address", PROP_KEY_SENDER_MAIL_ADDRESS, new WizardTextInputListener() {
      @Override
      public void textInputChanged(String key, String textContent) {
        final String lowerContent = textContent.toLowerCase();
        ((JTextField) p2.getComponentByName(PROP_KEY_SENDER_MAIL_LOGIN)).setText(textContent);
        if (lowerContent.endsWith("@googlemail.com") || lowerContent.endsWith("@gmail.com")) {
View Full Code Here


        p2.getComponentByName(PROP_KEY_RECEIVER_MAIL_ADDRESS).setEnabled(checked);
        p2.getComponentByName(PROP_KEY_SET_FULLTEXT_INTO_MAIL_BODY).setEnabled(checked);
        p2.getComponentByName(PROP_KEY_ADD_DOCUMENT_AS_ATTACHMENT).setEnabled(checked);
      }
    });
    p2.addTextInput("Sender mail address", PROP_KEY_SENDER_MAIL_ADDRESS, new WizardTextInputListener() {
      @Override
      public void textInputChanged(String key, String textContent) {
        final String lowerContent = textContent.toLowerCase();
        ((JTextField) p2.getComponentByName(PROP_KEY_SENDER_MAIL_LOGIN)).setText(textContent);
        if (lowerContent.endsWith("@googlemail.com") || lowerContent.endsWith("@gmail.com")) {
View Full Code Here

TOP

Related Classes of de.chris_soft.utilities.swing.wizard.WizardTextInputListener

Copyright © 2018 www.massapicom. 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.