Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Popup background color?

 
Gerard Charles
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to change the background color of a Popup obtained from the PopupFactory?
I've tried setting the background of the Component provided to the PopupFactory but it doesn't seem to take.
 
Gerard Charles
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just figured it out -- call getClipBounds( ) and then fillRect( ) with the desired color.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!