### Password Field

Two way of creating a Password field.
Option B4J Visual Designer
In the layout, add view TextField and check mark the TextField properties > Password Field.
Option B4J Code using JavaObject (requires the JavaObject library)
Reference: http://docs.oracle.com/javafx/2/api/javafx/scene/control/PasswordField.html
`Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.Show
Dim pwfPassword As TextField = CreatePasswordField
MainForm.RootPane.AddNode(pwfPassword, 0, 0, 100, 50)
End Sub`
`Sub CreatePasswordField As TextField
Dim jo As JavaObject
jo.InitializeNewInstance("javafx.scene.control.PasswordField", Null)
Return jo
End Sub`

Changed: , Category: TextField, File: T6C262M1943.htm, ID: 1943