Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / December 2004

Tip: Looking for answers? Try searching our database.

getParameter() in an applicationized applet

Thread view: 
hiwa - 25 Dec 2004 04:58 GMT
I'd like to use getParameter() and other getXxxx() method of an
applet from an application that puts the applet in a frame window.
I mean I'd be happy if the application could read the parameters
and other data from the original HTML file that has applet tag.

Is it possible?

And, if the answer is no, what could be the alternative way for
the application to get the applet parameters and other basic
data given by getXxxx() methods?

Thanks in advance and Merry Xmas.
Andrew Thompson - 25 Dec 2004 11:57 GMT
> I'd like to use getParameter() and other getXxxx() method of an
> applet from an application that puts the applet in a frame window.
..
> Is it possible?

Yes.  You can create an artificial AppletStub and AppletContext
for an Applet hosted by a Frame or JFrame, then you simply need
to attach the stub and context before adding it to the Frame
or JFrame's contentPane().

> I mean I'd be happy if the application could read the parameters
> and other data from the original HTML file that has applet tag.

I have not specifically parsed HTML to get the applet param's,
but my (ever 'yet to be released') Appleteer program creates and
reads an XMLised object of applet parameters.

Signature

Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.LensEscapes.com/  Images that escape the mundane



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.