use of javax.swing.JScrollBar in project Payara by payara.
the class ResultsPanel method setDetailText.
public void setDetailText(String details) {
detailText.setText(details);
JScrollBar scrollBar = textScrollPane.getVerticalScrollBar();
if (scrollBar != null) {
scrollBar.setValue(0);
}
}
Aggregations