starting Java applet with arguments

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rick

    starting Java applet with arguments

    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


  • Janwillem Borleffs

    #2
    Re: starting Java applet with arguments


    "Rick" <aso3rick@hotma il.com> wrote in message
    news:3f8bba36$0 $58713$e4fe514c @news.xs4all.nl ...[color=blue]
    > 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[/color]
    ....

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

    JW



    Comment

    • Rick

      #3
      Re: starting Java applet with arguments

      You're right!

      Thanks,
      Rick


      Comment

      Working...