• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JFrame, Image/Graphics and JInternalFrame

 
Vidyadhar Hegde
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends
I know how to implement Image in JFrame and JInternalFrame.
But I am not able to combine all three means I want to embed some Image/Graphics in my JFrame window which is parent for a JInternalFrame.
Could you please help me?
Thank you.

------------------
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the result you are trying to achieve? You may be able to do it with a glassPane.
 
Vidyadhar Hegde
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your response.
Sorry, for not giving clear problem detail.
Let me tell you in detail what I want to achieve?
I'm having a frame (JFrame). I want an internal frame (JInternalFrame). Means I want to develop a MDI application. Now I want to put a background image for the JFrame. But the JInternalFrame must be visible when JFrame is visible.
The glassPane did not come up to my requirement.
Hope you got my requirement.
 
lenin ch
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
checkout whether setOpaque is true.. If it is true then the background is not visible.. Make th ebackground visible by setting setOpaque(false). Is that the one you need....
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some of the code in this post may help you...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic