title: Java: How to add scroll bars to a GUI window implemented via java.awt.frame?
body: <p>I have been working on ImageJ and <b>need to add scroll bars in a plugin: <a href="http://fiji.sc/cgi-bin/gitweb.cgi?p=fiji.git;a=blob;f=src-plugins/Trainable_Segmentation/trainableSegmentation/Weka_Segmentation.java;h=9196d643cea8ff275107ec26909514958e768453;hb=HEAD" rel="nofollow">Weka_segmentation</a></b>
  It implements java.awt.Frame to ij.gui.ImageWindow,  which is implemented by a stackwindow class, which is in turn implemented by a customwindow class. I have to add scroll bars in this class. Is there any east, short way? </p>