阅读背景:

如何检测JScrollPane的滚动条是否会更改可见性?

来源:互联网 

I have JScrollPane that contains some images in a horizontal row. If the row of images is too long for the view port, the JScrollPane shows a scroll bar, reducing the height of the view port. I'd like to resize the images to fit the view port. How can I detect that the view port changed its size? Unfortunately, registering change event handlers doesn't seem to work. I have JScrollPane that contains some images in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: