static void setSelectedIndex(final JList l, final int i) { if (l != null) swing { l.setSelectedIndex(i); } } static void setSelectedIndex(final JComboBox cb, final int i) { if (cb != null) swing { cb.setSelectedIndex(i); } }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1015288 |
| Snippet name: | setSelectedIndex |
| Eternal ID of this version: | #1015288/3 |
| Text MD5: | e119044399532ccbe65c847865eeea8b |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-11-06 18:33:56 |
| Source code size: | 235 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 732 / 788 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |