use a scrollpane for output