|
|
@ -153,8 +153,9 @@ public abstract class BasicScrollPane<T> extends BasicBeanPane<T>{ |
|
|
|
scrollBar.setEnabled(false); |
|
|
|
scrollBar.setEnabled(false); |
|
|
|
scrollBar.setVisible(false); |
|
|
|
scrollBar.setVisible(false); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
scrollBar.setEnabled(true); |
|
|
|
boolean show = isShowScrollBar(); |
|
|
|
scrollBar.setVisible(true); |
|
|
|
scrollBar.setEnabled(show); |
|
|
|
|
|
|
|
scrollBar.setVisible(show); |
|
|
|
} |
|
|
|
} |
|
|
|
maxheight = getHeight() - DET_HEIGHT; |
|
|
|
maxheight = getHeight() - DET_HEIGHT; |
|
|
|
if ((MAXVALUE - scrollBar.getVisibleAmount()) == 0) { |
|
|
|
if ((MAXVALUE - scrollBar.getVisibleAmount()) == 0) { |
|
|
@ -179,7 +180,11 @@ public abstract class BasicScrollPane<T> extends BasicBeanPane<T>{ |
|
|
|
} |
|
|
|
} |
|
|
|
leftcontentPane.validate(); |
|
|
|
leftcontentPane.validate(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected boolean isShowScrollBar() { |
|
|
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public T updateBean() { |
|
|
|
public T updateBean() { |
|
|
|