Size: a a a

2021 January 03

VA

Vadim Averin in pro.algorithms
Matthew Good
Eg you just give it min and max
well, it is not the purpose of scroll pane
источник

VA

Vadim Averin in pro.algorithms
scroll pane allows  to scroll some content located in container (e.g. a text, a list, a table)
источник

MG

Matthew Good in pro.algorithms
Like it allows the content to exceed the window?
источник

VA

Vadim Averin in pro.algorithms
yes
источник

MG

Matthew Good in pro.algorithms
But it offers no scrolling by itself?
источник

MG

Matthew Good in pro.algorithms
Or rather, only very basic scrolling api's? (As obviously it would need a way to move its content somehow)
источник

VA

Vadim Averin in pro.algorithms
Matthew Good
But it offers no scrolling by itself?
It doesn't. If you want to implement a scroller allowing to select some value, you should use JSlider.
источник

MG

Matthew Good in pro.algorithms
Ok
источник

VA

Vadim Averin in pro.algorithms
it looks like this
источник

MG

Matthew Good in pro.algorithms
Would Jslider handle all the scrolling logic?
источник

MG

Matthew Good in pro.algorithms
or would the user need to implement that
источник

VA

Vadim Averin in pro.algorithms
What do you mean by the scrolling logic?
источник

MG

Matthew Good in pro.algorithms
like, the actual functionality of the jscroller
источник

VA

Vadim Averin in pro.algorithms
As was said above, if you want to be able to scroll some contents, JScrollPane would be enough
источник

VA

Vadim Averin in pro.algorithms
Vadim Averin
What is your native language though?
I meant the spoken language. idk if it is allowed to speak english here
источник

S

Stas in pro.algorithms
Vadim Averin
As was said above, if you want to be able to scroll some contents, JScrollPane would be enough
He simply wants an algorithm, that will allow him to implement a logic of scrolling. Not a ready tool
источник

S

Stas in pro.algorithms
I see it this way
источник

MG

Matthew Good in pro.algorithms
so that and jscroller would be all you need and you would have a scrollable view with a working scroll bar with minimal effort?
источник

VA

Vadim Averin in pro.algorithms
yes
источник

VA

Vadim Averin in pro.algorithms
источник