you would add the JScrollPane to your internal frame.
then add the contents panel to your scroll pane
no different to how you would add scrolling anywhere, for example adding scrolling to a list (http://helpdesk.objects.com.au/java/how-do-i-add-scroll-bars-to-my-jlist)
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed.
The idea here is to target your cell phones with
Viewers will learn one way to get user input in Java.
Introduce the Scanner object:
Declare the variable that stores the user input:
An example prompting the user for input:
Methods you need to invoke in order to properly get user input: