Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
/**
 * Copyright 2010 CssWeb Microsystems, Inc. All rights reserved.
 * CssWeb PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * @(#)ActivityUtil.java ?08:07:55 2010-10-3
 */

import android.text.method.PasswordTransformationMethod;

import android.widget.EditText;

public class Main {
    public static void setPasswordType(EditText paramEditText, boolean paramBoolean) {
        if (!paramBoolean)
            return;
        PasswordTransformationMethod localPasswordTransformationMethod = new PasswordTransformationMethod();
        paramEditText.setTransformationMethod(localPasswordTransformationMethod);
    }
}