dcsimg
<pre>add a scrollbar to an applet </pre>
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Aparna_Sankar
Posted On:   Friday, September 13, 2002 09:16 PM


Can we add scrollbars to an applet in such a way that if the width and height of the applet exceeds the screen size the scroll bars should automatically appear


Thanks

Re: <pre>add a scrollbar to an applet </pre>

Posted By:   Prashanth_Sukumaran  
Posted On:   Sunday, September 15, 2002 03:48 AM


Hi Aparna


The Width and the Size of the Applet is what you specify int he tag or the tag. It cannot be exceed dynamically. But if you do want the Applet to be bigger then what you can do is Add the Applet in an IFrame. This way the Scroll will come up.


Or




If you want something with in the applet to scroll then go ahead an add a ScrollPane to a Panel.




Rgds




Prashanth Sukumaran.