How to set SCROLLBARS to my APPLET???
Hello sir,
I m working on applets.I wanted to put horizontal and vertical scrollbars to my applet.I dont know what is the corresponding method.I know how to put these for a TEXTAREA.
Can u please include the scrollbars to the sample code given below so that I can use it in my java file.
Quote:
/*<applet code="SimpleApplet" width=200 height=200>
</applet>*/
import java.awt.*;
import java.applet.*;
public class SimpleApplet extends Applet {
public void paint (Graphics g) {
g.drawString("First Applet", 50, 50 );
}
}