y*****g 发帖数: 13 | 1 我想在CODE中实现把一个ScrollBar拉到底的操作. 应该用什么method呢?
大概看了看JDOC,试了试setValue(getMaximum()).
不Work...:(
哪位拉兄弟一把... | w******n 发帖数: 692 | 2 You can try to add the statement Component.repaint.
But if your JScrollBar is associated with some panel like JTextArea, you'd
better consider their methods to do the job. Overall, JScrollbar is dependent
with those Panels.
【在 y*****g 的大作中提到】 : 我想在CODE中实现把一个ScrollBar拉到底的操作. 应该用什么method呢? : 大概看了看JDOC,试了试setValue(getMaximum()). : 不Work...:( : 哪位拉兄弟一把...
|
|