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

3
LINES

< > BotCompany Repo | #1023115 // componentToJComponent

JavaX fragment (include)

static JComponent componentToJComponent(Component c) {
  ret c == null ? null : c instanceof JComponent ? c/JComponent : singleComponentPanel(c);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1023115
Snippet name: componentToJComponent
Eternal ID of this version: #1023115/1
Text MD5: 7bc8ebef7eca77d5a62b9183009ebee4
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-05 23:10:46
Source code size: 149 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 227 / 268
Referenced in: