Java Applet Won't Allow Anything Else on its Page
Posted on 2004-04-15
Thanks for reading our question. We have a java applet. It’s a chat room. We want to add a banner rotation applet above it. When we put the chat applet alone on a page, and set its dimensions to 100% x 100%, the resulting chatroom sits dead center in the middle of the page and is infinitely resizable. You can make the window even super teensy, but the whole applet shrinks or enlarges to any dimension of the page.
However, if we add <i>anything</i> else above the chat applet, even just a <p>, then the lower edge of the chatroom falls beneath the visible. You can still drag the window to any dimension, but the bottom edge of the chatroom always bleeds off. Is there any way to add something to the page a java applet is on and still keep all the edges of the applet visible, and have it automatically resize to any window dimension?
We have tried putting both in a table and setting the table to 100% width and height, but still the lower edge of the chat applet falls beneath the visible.