Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

setOpaque(false) problem..  RSS feed

 
Jaakko Lepakko
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a class that inherits from JComponent and it's opaqueness is set to false. As the result of this, the paintComponent method is no longer called.

Everything works just fine when the opaqueness is set to true. Am I missing something obvious here? setting opaqueness to false doesn't mean that the component be invisible now does it?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!