This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Just a quick question that hopefully someone can solve. I have an applet that's in a HTML page. The applet takes up the whole page and resizes with the resizing of the browser window. The only problem is when I have this code in my HTML doc:
it works exactly how I want it, where the scroll bars do not show up until the browser window hits my applets minimum size. But when I correct the code so it looks like:
the vertical scrollbar on the browser shows up, even though the applet is smaller than the browser window.
The only difference is the last line where
becomes if you didn't notice.
here is my whole HTM code: