Java Code Examples for javax.swing.text.PasswordView

The following examples show how to use javax.swing.text.PasswordView. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: darklaf   Source File: DarkPasswordFieldUIBridge.java    License: MIT License 4 votes vote down vote up
@Override
public View create(final Element elem) {
    return new PasswordView(elem);
}
 
Example 2
Source Project: seaglass   Source File: SeaGlassPasswordFieldUI.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Creates a view (PasswordView) for an element.
 *
 * @param  elem the element
 *
 * @return the view
 */
public View create(Element elem) {
    return new PasswordView(elem);
}