フィルターのクリア

User authentication in matlab GUI

1 回表示 (過去 30 日間)
maroua maro
maroua maro 2014 年 5 月 22 日
コメント済み: hamzaoui zakaria 2020 年 2 月 6 日
dans un GUI matlab d'authentification (login et mot de passe) comment peut je créer le champ de mot de passe (quand l'utilisateur fait le saisie de mot de passe les caractére ne s'affiche pas) merci d'avance de me repondre

採用された回答

Romain
Romain 2014 年 5 月 22 日
Sinon, j'ai aussi trouver ce script qui permet de faire ça :
function passwordDemo
f = figure;
pwd = javax.swing.JPasswordField;
[hComp,hContainer]= javacomponent(pwd,[100,100,200,20],f);
set(hComp,'ActionPerformedCallback',@passwordEntered);
function passwordEntered(varargin)
disp(['The password entered was ', char(hComp.getText)])
end %passwordEntered
end %passwordDemo
Si cela peut aider.
  1 件のコメント
hamzaoui zakaria
hamzaoui zakaria 2020 年 2 月 6 日
tu peux nous expliquer les fonctions svp

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLanguage Fundamentals についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by