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

11
LINES

< > BotCompany Repo | #1016368 // possiblyInternalFrameTitle

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

Libraryless. Click here for Pure Java version (2283L/14K).

static <A extends Component> A possiblyInternalFrameTitle(A c, S title) {
  JInternalFrame f = getInternalFrame(c);
  if (f != null) internalFrameTitle(f, title);
  else frameTitle(getFrame(c), title);
  ret c;
}

sS possiblyInternalFrameTitle(Component c) {
  JInternalFrame f = getInternalFrame(c);
  ret f != null ? internalFrameTitle(f) : frameTitle(getFrame(c));
}

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: #1016368
Snippet name: possiblyInternalFrameTitle
Eternal ID of this version: #1016368/6
Text MD5: db7b1d288274f7cb7024d6c452d1aeb7
Transpilation MD5: 4faaf564581219cbbe8e9f7c82164902
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-14 19:36:21
Source code size: 379 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 406 / 506
Version history: 5 change(s)
Referenced in: [show references]