Results 1 to 3 of 3
  1. #1
    nsharath is offline Member
    Join Date
    Feb 2009
    Rep Power

    Smile 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.

    /*<applet code="SimpleApplet" width=200 height=200>


    import java.awt.*;

    import java.applet.*;

    public class SimpleApplet extends Applet {

    public void paint (Graphics g) {

    g.drawString("First Applet", 50, 50 );



  2. #2
    mtyoung is offline Senior Member
    Join Date
    Dec 2008
    Hong Kong
    Rep Power

  3. #3
    sp_29 is offline Member
    Join Date
    Feb 2009
    Rep Power

Similar Threads

  1. I am having trouble with scrollbars in netbeans 5.5.1
    By ineedhelp in forum New To Java
    Replies: 2
    Last Post: 03-13-2009, 06:56 PM
  2. BFS using APPLET
    By bharanidharanit in forum Java Applets
    Replies: 3
    Last Post: 12-30-2008, 02:45 AM
  3. Applet in a GUI
    By serfster in forum New To Java
    Replies: 1
    Last Post: 06-12-2008, 11:09 PM
  4. applet
    By amith in forum AWT / Swing
    Replies: 1
    Last Post: 05-16-2008, 03:24 AM
  5. Replies: 4
    Last Post: 06-08-2007, 06:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts