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

8
LINES

< > BotCompany Repo | #1003587 // setFrameIcon - set JFrame's icon to a snippet image

JavaX fragment (include)

1  
static <A extends Component> A setFrameIcon(A c, S imageID) {
2  
  setFrameIconLater(c, imageID);
3  
  ret c;
4  
}
5  
6  
static <A extends Component> A setFrameIcon(S imageID, A c) {
7  
  ret setFrameIcon(c, imageID);
8  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003587
Snippet name: setFrameIcon - set JFrame's icon to a snippet image
Eternal ID of this version: #1003587/3
Text MD5: 59441f62eacbc667d0597283be384283
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-24 17:19:53
Source code size: 209 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 622 / 726
Version history: 2 change(s)
Referenced in: [show references]