1 | static void setSelectedIndex(final JList l, final int i) { |
2 | if (l != null) swing { l.setSelectedIndex(i); } |
3 | } |
4 | |
5 | static void setSelectedIndex(final JComboBox cb, final int i) { |
6 | if (cb != null) swing { cb.setSelectedIndex(i); } |
7 | } |
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: | 470 / 528 |
Version history: | 2 change(s) |
Referenced in: | [show references] |