addAdjustmentListenerpublic void addAdjustmentListener(AdjustmentListener l) Adds the specified adjustment listener to receive instances of AdjustmentEvent from this scroll bar. If l is null, no exception is thrown and no action is performed.Specified by:addAdjustmentListener in interface Adjustable 可以加上一个事件监听,然后在这个监听代码里面加上panel的改变事件应该是可以的了
Adds the specified adjustment listener to receive instances of AdjustmentEvent from this scroll bar. If l is null, no exception is thrown and no action is performed.Specified by:addAdjustmentListener in interface Adjustable
可以加上一个事件监听,然后在这个监听代码里面加上panel的改变事件应该是可以的了