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

7
LINES

< > BotCompany Repo | #1001527 // addCommentToWindow

JavaX fragment (include)

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

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: 757 / 959
Referenced in: #1001529 - addSaveButton
#1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000382 - Answer for ferdie (>> t = 1, f = 0)