Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

applet as background

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to have an applet as a background in an HTML page. If so could someone post a link or an example.
Thanks
 
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not that I am aware of. The applet would take over the entire browser area, and there is no way to overlay additional html on top of it.
 
Bill Vai
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Rob didn't think so but I was hoping.
 
Saloon Keeper
Posts: 22123
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java sandbox rules were written with the realization that morally-deficit people would like to write applets that are in one way or other invisible in order to to Bad Things. So they've made it virtually impossible for such applets to run.
Now if you're looking for an applet that simply consists of the entire window display area, that's doable - give or take any warning borders the browser may mandate. The tricky part is that the applet area cannot grow or shrink as the window is resized, and the only way to even get the applet to properly fit the user's window is to set up the applet size based on the window size of the request that downloaded the applet.
 
Bill Vai
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No Tim, I was just wondering if I could use an Applet as a background and have content over it. I was hoping that I missed something in my training but I guess I was not I take it that I was trained by good instructors.
Thanks for the reply.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic