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

3
LINES

< > BotCompany Repo | #1034553 // scrollIntoView

JavaX fragment (include)

svoid scrollIntoView(JComponent c) {
  if (c != null) swing { c.scrollRectToVisible(new Rectangle(0, 0, c.getWidth(), c.getHeight())); }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034553
Snippet name: scrollIntoView
Eternal ID of this version: #1034553/2
Text MD5: f60ca7e043d755fc7fb7b9ddc5bbae8d
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-12 22:22:16
Source code size: 140 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 62 / 81
Version history: 1 change(s)
Referenced in: [show references]