Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Setting the Background Image or Gradient color for my swing application ...

843806Apr 23 2008 — edited Apr 25 2008
Hi,

I have set of classes which are extending either JFrame or JPanel. I need to set the background Image or gradient color for them. Instead of setting the backgroud for each and every class extending JFrame or JPanel, Is there a way to set the background Image /gradient color once so that it would reflect on all the UIs?

Regards
Chandra
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 23 2008
Added on Apr 23 2008
8 comments
617 views