scrollPane questions

does anyone know how to manually tell the scrollpane component the height that it should scroll?