If you create a JScrollPane that has a viewport larger than the JScrollPane\'s component, it displays that component in the upper left.
Is there any way to change this b
JPanel
GridBagLayout
This is the technique used in the Nested Layout Example, which places the red/orange image into the center of the parent.