static bool replaceTab(final JTabbedPane tabs, fS name, final Component c) { if (tabs == null) false; ret swing(func -> Bool { int idx = tabs.indexOfTab(name); if (idx < 0) false; tabs.setComponentAt(idx, wrap(c)); true; }); }
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: | #1010336 | 
| Snippet name: | replaceTab - replace tab in JTabbedPane by name | 
| Eternal ID of this version: | #1010336/3 | 
| Text MD5: | dce7c839bfb3092d8fea5676a1c30eaa | 
| Author: | stefan | 
| Category: | javax / gui | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2017-09-11 23:22:04 | 
| Source code size: | 256 bytes / 9 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 697 / 746 | 
| Version history: | 2 change(s) | 
| Referenced in: | [show references] |