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

3
LINES

< > BotCompany Repo | #1007232 // unwrap - unwrap a Swing component (e.g. out of scroll pane)

JavaX fragment (include)

static JComponent unwrap(JComponent c) {
  ret c instanceof JScrollPane ? unwrapScrollPane((JScrollPane) c) : c;
}

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: #1007232
Snippet name: unwrap - unwrap a Swing component (e.g. out of scroll pane)
Eternal ID of this version: #1007232/1
Text MD5: c0d945924d303ec5728fd2d5590ed08b
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-12 16:19:33
Source code size: 116 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 501 / 565
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)