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

5
LINES

< > BotCompany Repo | #1014105 // jscrollVertical - make JScrollPane with vertical scrolling only

JavaX fragment (include)

1  
static JScrollPane jscrollVertical(final Component c) {
2  
  ret swing(func -> JScrollPane { new JScrollPane(c,
3  
    ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
4  
    ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER) });
5  
}

Author comment

Began life as a copy of #1006014

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: #1014105
Snippet name: jscrollVertical - make JScrollPane with vertical scrolling only
Eternal ID of this version: #1014105/1
Text MD5: ebf6fdd8da9e631979d5134ec780c75f
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-07 15:19:24
Source code size: 224 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 356 / 419
Referenced in: [show references]