1 | static JComboBox copyComboBoxSelection(JComboBox cbOld, JComboBox cbNew) {
|
2 | if (cbOld != null) |
3 | cbNew.setSelectedIndex(cbOld.getSelectedIndex()); |
4 | ret cbNew; |
5 | } |
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: | 656 / 703 |
| Referenced in: | [show references] |