Refresh « JScrollPane « Java Swing Q&A





1. How to refresh JScrollPane    stackoverflow.com

My main frame contains JScrollPane which lists some objects. Through menu (pop up frame) I create new object and I want to list this object in the JScrollPane (which is created ...

2. how can i refresh a scrollpane    coderanch.com

3. Refreshing a JScrollPane...    coderanch.com

when you say refreshed, do you just mean redrawn or do you mean repositioned? As to the accessible methods, have you made the methods for ViewPane public so that Action can use them? Action also needs some way of getting a handle on the instance of ViewPane you have running. That may be your problem. You may need to pass a ...