starting Java applet with arguments

Discussion in 'Javascript' started by Rick, Oct 14, 2003.

  1. Rick

    Rick Guest

    I know this ain't the right place for applet questions but the other
    newsgroups we're so full of spam, it's a damn shame. Anyway, what I'd like
    to do is to use a java applet on my website. But it needs some information
    so I was thinking about giving parameters when the applet starts. But is
    this possible? When I try code like this in Netbeans the applet will give
    errors while starting.
    public MyApplet( int argC, String args[] )
    {
    // the constructor of the applet
    }
    How to use startup arguments? Or if this is not possible, are their other
    good ways to send data to the applet( or let the applet get data from the
    website, the data is a long string inside a textbox).

    Greetings,
    Rick
    Rick, Oct 14, 2003
    #1
    1. Advertising

  2. "Rick" <> wrote in message
    news:3f8bba36$0$58713$4all.nl...
    > I know this ain't the right place for applet questions but the other
    > newsgroups we're so full of spam, it's a damn shame. Anyway, what I'd like
    > to do is to use a java applet on my website. But it needs some information

    ....

    Did you try comp.lang.java? Don't see any spam in there...

    JW
    Janwillem Borleffs, Oct 14, 2003
    #2
    1. Advertising

  3. Rick

    Rick Guest

    You're right!

    Thanks,
    Rick
    Rick, Oct 14, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. webster
    Replies:
    0
    Views:
    850
    webster
    Jul 20, 2003
  2. Krista
    Replies:
    3
    Views:
    2,310
    Andrew Thompson
    Sep 15, 2004
  3. Archana
    Replies:
    1
    Views:
    1,379
    Andrew Thompson
    Oct 25, 2004
  4. yawnmoth
    Replies:
    1
    Views:
    889
    Andrew Thompson
    Aug 15, 2006
  5. Replies:
    4
    Views:
    5,853
    Laurent D.A.M. MENTEN
    Jan 11, 2007
Loading...

Share This Page