1 | static JComponent componentToJComponent(Component c) { |
2 | ret c == null ? null : c instanceof JComponent ? c/JComponent : singleComponentPanel(c); |
3 | } |
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: | 228 / 269 |
Referenced in: | [show references] |