Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Showing ScrollBar < and > buttons #25

Closed
martinm1000 opened this issue Dec 2, 2019 · 3 comments
Closed

Showing ScrollBar < and > buttons #25

martinm1000 opened this issue Dec 2, 2019 · 3 comments

Comments

@martinm1000
Copy link

Hi, is there a way or option to have the scrollbar prev/next button showing ?

I have a heavily customized JTable where in that case the prev < and > next button of the scrollbar were used to move by a specific amount.

DevCharly added a commit that referenced this issue Dec 3, 2019
…ScrollBar.showButtons" is set to `true` on `JScrollPane` or `JScrollBar` (issue #25)
@DevCharly
Copy link
Collaborator

This is now implemented in master branch.

To show prev/next buttons for all scrollbars in your application use:

UIManager.put( "ScrollBar.showButtons", true );

Or enable them on single components with:

myScrollPane.putClientProperty("JScrollBar.showButtons", true);

or

myScrollBar.putClientProperty("JScrollBar.showButtons", true);

@martinm1000
Copy link
Author

Thank you very much !

@JFormDesigner
Copy link
Owner

released in 0.21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants