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

5
LINES

< > BotCompany Repo | #1033694 // jscrollHorizontal - make JScrollPane with horizontal scrolling only

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

Transpiled version (4701L) is out of date.

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

Author comment

Began life as a copy of #1014105

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033694
Snippet name: jscrollHorizontal - make JScrollPane with horizontal scrolling only
Eternal ID of this version: #1033694/3
Text MD5: 0534f9700690288c1ba77b6bb29a26bf
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-12-28 01:19:44
Source code size: 226 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 139 / 195
Version history: 2 change(s)
Referenced in: [show references]