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

7
LINES

< > BotCompany Repo | #1001527 // addCommentToWindow

JavaX fragment (include)

1  
static void addCommentToWindow(Component c, S comment) {
2  
  if (getFrame(c) == null) {
3  
    print("No window to add comment: " + quote(comment));
4  
    ret;
5  
  }
6  
  addToWindow(c, new JLabel(comment));
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001527
Snippet name: addCommentToWindow
Eternal ID of this version: #1001527/1
Text MD5: 7622386dc1cb1edec8a37a1c3b529bbd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-21 21:02:03
Source code size: 203 bytes / 7 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 688 / 884
Referenced in: [show references]