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

3
LINES

< > BotCompany Repo | #1006014 // jscroll - make JScrollPane

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5174L/28K).

static JScrollPane jscroll(Component c) swing {
  ret c cast JScrollPane ? c : new JScrollPane(c);
}

Author comment

Began life as a copy of #1005666

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006014
Snippet name: jscroll - make JScrollPane
Eternal ID of this version: #1006014/3
Text MD5: 838b10e7ba84284639e28ed56bcb71da
Transpilation MD5: ef66fc8b175e28ce74298f2f971cbcd0
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-07 22:22:07
Source code size: 102 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 561 / 652
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1006936 - jscroll_centered - make JScrollPane with centered component
#1014105 - jscrollVertical - make JScrollPane with vertical scrolling only
#1014109 - jscroll_verticalExtend - extends component's height to at least viewport height? (forgot what it does)
#1020095 - jScrollWithoutBorder - make JScrollPane without that 1-pixel black border
#1024204 - jscroll_whiteBackground - make JScrollPane with white background where no component is showing
#1028944 - jscroll_minHeight - jscroll + jMinHeight