Libraryless. Click here for Pure Java version (4481L/31K).
1 | svoid setIconImage(JInternalFrame f, Image image) { |
2 | if (f != null) swing { f.setFrameIcon(imageIcon(image)); } |
3 | } |
4 | |
5 | svoid setIconImage(JFrame f, Image image) { |
6 | if (f != null) swing { f.setIconImage(image); } |
7 | } |
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: | 180 / 264 |
Version history: | 3 change(s) |
Referenced in: | [show references] |