Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

want background image in applet

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all,
I want to put .Jpg image as background image in my applet can any body help me in this regards..i want in background that is important....
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I answered a question similiar to this in this thread ( http://www.javaranch.com/ubb/Forum23/HTML/000728.html )...

HTH,
-Nate

P.S. - Your user name does not follow the JavaRanch naming convention( http://www.javaranch.com/name.jsp )... please re-register with a name in the form of first name + space + last name... Thank you!
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello mr.nate..
as per your suggestion image will be displayed on applet not in background..and i want in background.....
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean in the background of the web page? In the BODY tag, you can specify BACKGROUND=URL of image... if you want to control this somehow (such as having the user choose a background) Applets don't interact with the web page, so it would be much easier to do with either JavaScript, or maybe Servlets...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic