static S swingEnterPassword(S msg) { new JPasswordField pf; int okCxl = JOptionPane.showConfirmDialog(null, pf, msg, JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE); ret okCxl == JOptionPane.OK_OPTION ? str(pf.getPassword()) : null; }
Began life as a copy of #1003353
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003354 |
Snippet name: | swingEnterPassword |
Eternal ID of this version: | #1003354/1 |
Text MD5: | 784c39f2d318de18db078b81f2aec680 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-06-20 17:19:14 |
Source code size: | 255 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 529 / 533 |
Referenced in: | [show references] |