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

6
LINES

< > BotCompany Repo | #1025394 // setPIFrameIconImage - set icon of internal or non-internal frame

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

Libraryless. Click here for Pure Java version (4521L/31K).

1  
static <A extends Component> A setPIFrameIconImage(A c, Image image) {
2  
  JInternalFrame f = getInternalFrame(c);
3  
  if (f != null) setIconImage(f, image);
4  
  else setIconImage(getFrame(c), image);
5  
  ret c;
6  
}

Author comment

Began life as a copy of #1016368

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025394
Snippet name: setPIFrameIconImage - set icon of internal or non-internal frame
Eternal ID of this version: #1025394/4
Text MD5: 85efc80b5c1ed1212677fa0875ac2e19
Transpilation MD5: fe66f26db21d32c434ee59f8ade493ad
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-27 18:34:10
Source code size: 210 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 160 / 247
Version history: 3 change(s)
Referenced in: [show references]