starting Java applet with arguments

R

Rick

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
 
J

Janwillem Borleffs

Rick said:
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top