permaculture playing cards*
The moose likes Swing / AWT / SWT and the fly likes Inheriting the color of parent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Inheriting the color of parent" Watch "Inheriting the color of parent" New topic
Author

Inheriting the color of parent

Jody Seigle
Greenhorn

Joined: Sep 29, 2000
Posts: 24
Do swing JPanels inherit the background color of the parent
JFrame when added? I'm guessing the answer is no, since my code
isn't persisting the JFrame's background color after I add a panel to it. Is there a way to only set the background color once per an application rather than setting each JPanel's background?
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inheriting the color of parent
 
Similar Threads
Flashing a row in Jtable
How to make TextVIew behave like EditText
setBackground().. and Cusor()
panels and background
ListBox