According to your HTML, your applet (a java.awt.Panel) is given a
700x500 pixel space within the browser window to put things into.
Generally, the Panel's LayoutManager determines how this space is
allocated, so it all depends on what Components you have and how you're
telling the LayoutManager to distribute them within the Panel. Sun's
tutorial contains information on how the various LayoutManagers allocate
Therefore, it probably has much more to do with your Java code than the
HTML. Also, note that you might have to be a little careful when mixing
awt and swing components...sometimes they don't mix very well...
On Tue, 27 Aug 2002, Brobbey,Isaac wrote:
> Dear all:
> i have already posted a problem relating to this issue before, and i am
> currently working on it, but i will be glad to get any comments or
> suggestions so i can get enough insight into this sort of thing.
> consider this applet code below:
> <APPLET CODE="Vasxpro.class"
> HEIGHT="500" >
> my visad applet only occupies a small portion of the applet window instead
> of 700 and 500 that is defined in the html code, and i am wondering whether
> i can control that by using any of the visad API contructors which i doubt.
> i will be glad to know any work around on this, that is making it occupy
> bigger area in the applet window.
> as always i thank you,
University of Wisconsin-Madison
Space Science and Engineering Center
Cooperative Institute for Meteorological Satellite Studies