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

12
LINES

< > BotCompany Repo | #1015901 // internalFrameIcon

JavaX fragment (include)

static JInternalFrame internalFrameIcon(Component c, fS imageID) {
  final JInternalFrame frame = getInternalFrame(c);
  if (frame != null) thread "Loading Icon" {
    final Icon i = imageIcon(or2(imageID, #1005557));
    awt { frame.setFrameIcon(i); }
  }
  ret frame;
}

static JInternalFrame internalFrameIcon(S imageID, Component c) {
  ret internalFrameIcon(c, imageID);
}

Author comment

Began life as a copy of #1004228

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: #1015901
Snippet name: internalFrameIcon
Eternal ID of this version: #1015901/8
Text MD5: be5291a0e4e30e98bb53919242b7c3d7
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-15 00:58:50
Source code size: 388 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 487 / 529
Version history: 7 change(s)
Referenced in: [show references]