Why my scrollbars are not getting displayed..Where do i gone wrong?
posted 8 years ago
"scroll" is null at the time you're adding it to the content pane. It needs to be initialized at that time (and you should definitely not do that in the ImagePanel class, but in the init method of the applet).
Paper has not yet been outlawed – so let your Java Swing application print with wild abandon: JPDF