passwordEntryDialog
No License
Create a password entry dialog for entering a password that is visibly hidden. Java must be enabled for this function to work properly.
It has only been tested on the Windows platform in MATLAB R2008a. It should work in R2007a or later.
The password box is created using the Java Swing component JPasswordField.
NOTE: The password is only visibly hidden and can be accessed in memory.
Cite As
Jesse Lai (2026). passwordEntryDialog (https://se.mathworks.com/matlabcentral/fileexchange/19729-passwordentrydialog), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: login, UICOMPONENT - expands uicontrol to all Java classes
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Updated to remove requirement for uicomponent function written by Yair Altman. Now, the Java components are created manually and the undocumented feature javacomponent is used. |
