Look at how the code in the API doc uses a JScrollPane to hold a component to be displayed and use that same technique.
http://docs.oracle.com/javase/tutorial/uiswing/components/scrollpane.html
Type: Posts; User: Norm
Look at how the code in the API doc uses a JScrollPane to hold a component to be displayed and use that same technique.
http://docs.oracle.com/javase/tutorial/uiswing/components/scrollpane.html
Did you read the API doc to see how to use the JScrollPane?
You should look at the API doc on how to use the JScrollPane. There is a link to the tutorial there.
The first thing I see is that the JScrollPane object is not added to a container in the GUI.
What is wrong with the image you posted? What do you want different?