Libraryless. Click here for Pure Java version (10204L/72K).
static JTabbedPane mapMethodLike dm_rememberSelectedTab(S indexField, JTabbedPane tabs) { DynModule mod = dm_current_mandatory(); selectTab(tabs, toInt(get(mod, indexField))); onTabSelected(tabs, r { mod.setField(indexField, selectedTabIndex(tabs)) }); ret tabs; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028819 |
| Snippet name: | dm_rememberSelectedTab |
| Eternal ID of this version: | #1028819/2 |
| Text MD5: | d1774ed092da9133524b003c12f6f155 |
| Transpilation MD5: | 3e13f7872b200a36ac38b8e88b3e3935 |
| Author: | stefan |
| Category: | javax / stefan's os |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-07-09 12:45:52 |
| Source code size: | 277 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 393 / 514 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |