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

7
LINES

< > BotCompany Repo | #1016388 // dm_replaceVisual

JavaX fragment (include)

1  
static void dm_replaceVisual(JComponent c) {
2  
  DynModule m = dm_current();
3  
  assertNotNull(m);
4  
  JInternalFrame f = getInternalFrame(dm_getVisualization(m));
5  
  set(dm_getStem(m), vis := c);
6  
  setInternalFrameContents(f, c);
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016388
Snippet name: dm_replaceVisual
Eternal ID of this version: #1016388/2
Text MD5: 58d41dfb56e13d90ebf699200994342f
Author: stefan
Category: javax / dynamic modules
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-16 18:35:31
Source code size: 231 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 383 / 431
Version history: 1 change(s)
Referenced in: [show references]