How do I make a JComboBox or JTextArea scroll?

Sandip Chitale

At least JTextArea can be made to scroll by using

public void scrollRectToVisible(Rectangle rect)

Needs to be done int the GUI thread using SwingUtilities.invokeLater(...) also.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.