Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Applet width

  Asked By: Molly    Date: Jul 25    Category: Java    Views: 561

Can I make an applet that is 100% wide in a HTML file?

<APPLET CODE="Applet.class" WIDTH="100%" HEIGHT="100%">

Would this be legal and work in most browsers?



3 Answers Found

Answer #1    Answered By: Frank Butler     Answered On: Jul 25

I would say: to me it sounds legal, so I would say, just give it a
try. The worst thing that can happen is that your browser doesn't
like it and displays some error messages.

And please let us know afterwards whether it went well or not, o.k.?

Answer #2    Answered By: Francis Riley     Answered On: Jul 25

Well could you try looking at www.ednevitible.co.uk/BarApplet.html for
me please, in Firefox it displays a small window, however, it should
show something thats as tall as a single line and as wide as the table,
so in theory as wide as the screen. However, it doesnt seem to do that.

Answer #3    Answered By: Alan Palmer     Answered On: Jul 25

Well I had to replace the code with a parameter so I could show
someone.. I dont think it works using variable widths..

Didn't find what you were looking for? Find more on Applet width Or get search suggestion and latest updates.