• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

want background image in applet

 
aayushpatel
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....
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 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!
 
Aayush Patel
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 Java Spring
  • 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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic