See http://cafedead/~kwalrath/tutorialLink/ui/components/scrollbar.html.
The scrollbar example works just fine (excluding the repaint bug that aim
is looking into) on Solaris -- you can scroll to the lower right of the image
just fine. But on Win95, you can't scroll that far. MY PICTURE isn't visible!
Unthinkable!
To work around the repaint problem, either change repaint() to canvas.repaint()
or put another window on top of the canvas, so that paint() gets called.
It's possible that this is my bug, but it does work on Solaris.... And it is an
example in the book....
The scrollbar example works just fine (excluding the repaint bug that aim
is looking into) on Solaris -- you can scroll to the lower right of the image
just fine. But on Win95, you can't scroll that far. MY PICTURE isn't visible!
Unthinkable!
To work around the repaint problem, either change repaint() to canvas.repaint()
or put another window on top of the canvas, so that paint() gets called.
It's possible that this is my bug, but it does work on Solaris.... And it is an
example in the book....