File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inheriting the color of parent

 
Jody Seigle
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic