Link to home
Start Free TrialLog in
Avatar of netuser1976
netuser1976

asked on

Embedding HTML inside an applet

Can I embed a HTML element within an applet ?

say a

<MARQUEE ALIGN="top">Scrolling text </MARQUEE>
or a

<A HREF="http://www.somewhere.com"> Hypertext </a>.

If there is a button, I don't want to use the JAVA awt's Button object; instead I need to use HTML <BUTTON> object.

Thanks
Greg !
ASKER CERTIFIED SOLUTION
Avatar of jimmy282
jimmy282
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vbremaud
vbremaud

What do you mean with "embed HTML element within an applet" ?
Avatar of netuser1976

ASKER

Inside an applet can I put in the HTML object ?? If there is a button, I should not use the JAVA awt's button object instead I need to use HTML <BUTTON> object.

Thanks
Greg !
Then, jimmy282 is right: it is not possible to put HTML objects such as <BUTTON> in applets.
You have to use the class Button to put a button, and add an ActionListener to be notified when the user has clicked the button (for example).

hope it helps :-)
Your attention in bringing this and all your open questions to a fair conclusion is needed.  Administration has been advised of your 28 questions asked and 6 closed.  This is against Guidelines for this site, as I indicated in your other open question, and in which I've included links to our Guidelines, Member Agreement and the Question/Answer process here.  Please check the HELP DESK link on the left in these regards.

Please update them all.

Thanks,

Moondancer
Community Support Moderator @ Experts Exchange
Thanks for finalizing these open questions.
:)
Moondancer
Community Support Moderator @ Experts Exchange