Libraryless. Click here for Pure Java version (4481L/31K).
svoid setIconImage(JInternalFrame f, Image image) { if (f != null) swing { f.setFrameIcon(imageIcon(image)); } } svoid setIconImage(JFrame f, Image image) { if (f != null) swing { f.setIconImage(image); } }
Began life as a copy of #1025394
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: | #1025395 |
Snippet name: | setIconImage - set icon of internal or non-internal frame |
Eternal ID of this version: | #1025395/4 |
Text MD5: | f4fe368f76bdce0f4d825df53f6e4891 |
Transpilation MD5: | c0e2461368ae98228283c4f6824dce60 |
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:32:05 |
Source code size: | 217 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 181 / 265 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |