dcsimg

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.