static JComboBox copyComboBoxSelection(JComboBox cbOld, JComboBox cbNew) { if (cbOld != null) cbNew.setSelectedIndex(cbOld.getSelectedIndex()); ret cbNew; }
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: | #1008676 |
| Snippet name: | copyComboBoxSelection |
| Eternal ID of this version: | #1008676/1 |
| Text MD5: | fbc76b18ac4eb86a8d8b0c440eb000e1 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-05-28 01:00:16 |
| Source code size: | 168 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 655 / 702 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |