Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jframe and jpanel background  RSS feed

 
Maha Hassan
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to add a background to my jpanel (or to a jframe)
i tried a solution posted on the forum which was to put a labele with iconImage on a panel and add another panel above the first panel and set the second opaque property to false and it worked

but i want a way to have a backgound without adding MORE panels or unnessesary labels!!
and without using the paint and repaint methods
any ideas!!!
thanks for help
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!