Libraryless. Click here for Pure Java version (88L/1K/3K).
!752 p { new JPasswordField pf; int okCxl = JOptionPane.showConfirmDialog(null, pf, "Enter Password", JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE); if (okCxl == JOptionPane.OK_OPTION) { String password = new String(pf.getPassword()); print("You entered: " + password); } else print("cxl?"); }
Began life as a copy of #1003352
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003353 |
| Snippet name: | New Swing Password Input Spike |
| Eternal ID of this version: | #1003353/1 |
| Text MD5: | fe55e3adc15b7c01a6d2e757490f231c |
| Transpilation MD5: | ce26d4584101f5c0b3bb3c0c6108d0e4 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-06-20 17:17:51 |
| Source code size: | 337 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 669 / 791 |
| Referenced in: | #1003354 - swingEnterPassword |