Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1036382 // contentsOfTab

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (9893L/55K).

static Component contentsOfTab(JTabbedPane tabs, int idx) {
  if (tabs == null || idx < 0) null;
  ret swing(-> idx < tabs.getTabCount() ? tabs.getComponentAt(idx) : null);
}

Author comment

Began life as a copy of #1036381

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036382
Snippet name: contentsOfTab
Eternal ID of this version: #1036382/5
Text MD5: 684e9cd639cbac7767c6d41595c04285
Transpilation MD5: c6700a7b26a4cd84f32afcbeda286778
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-30 15:01:46
Source code size: 177 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 127 / 189
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)