wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes JFrame, Image/Graphics  and JInternalFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JFrame, Image/Graphics  and JInternalFrame" Watch "JFrame, Image/Graphics  and JInternalFrame" New topic
Author

JFrame, Image/Graphics and JInternalFrame

Vidyadhar Hegde
Greenhorn

Joined: Oct 24, 2000
Posts: 11
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

Joined: Nov 22, 2008
Posts: 18944
What is the result you are trying to achieve? You may be able to do it with a glassPane.
Vidyadhar Hegde
Greenhorn

Joined: Oct 24, 2000
Posts: 11
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

Joined: May 19, 2003
Posts: 1
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

Joined: Oct 18, 2000
Posts: 4121

Some of the code in this post may help you...


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
jQuery in Action, 2nd edition
 
subject: JFrame, Image/Graphics and JInternalFrame
 
Similar Threads
How can i hide a JFrame from showing a window in the taskbar?
Pressing a button to open a new window
JInternalFrames
jinternalframes
JInternalFrame Icons