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

8
LINES

< > BotCompany Repo | #1001645 // addToConsole - adds components to program's console

JavaX fragment (include)

1  
static boolean addToConsole(final Component c) {
2  
  final JFrame frame = consoleFrame();
3  
  if (frame == null) ret false;
4  
  awt {
5  
    addToWindow(frame, c);
6  
  }
7  
  ret true;
8  
}

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: #1001645
Snippet name: addToConsole - adds components to program's console
Eternal ID of this version: #1001645/1
Text MD5: c0ded2efc3e609b496ed464958f3932b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-03 19:01:21
Source code size: 179 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 588 / 824
Referenced in: [show references]