• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to add image  RSS feed

 
kirtesh jain
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi..
in my application i have one JFrame and on top of that i have one Desktop Pane....so i want to know how can i add image to either dektop pane or jframe ....so that it is visible to us...
thank you.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you're talking about a background image, the swing fag (link on swing main page) has an example

if you want to place components on top, those components generally can be made transparent,
so the image is seen underneath
 
Josh Britton
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Michael:

You may want to fix a small spelling mistake here: faQ, right?

Sorry if this is picky/annoying. Don't mean to offend.

Regards,

josh
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
now that I see it, and read it in the context of the line, I love it.

Thanks for adding a bit of laughter to my day.
 
kirtesh jain
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for link
i will go through that...
thank you...
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!