• Post Reply Bookmark Topic Watch Topic
  • New Topic

Quick Question  RSS feed

 
shawn larkin
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since JPanel is automatically double buffered. If I built a custom component and placed in a JPanel, would it be Double Buffered?
thanks
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, anything added to a double buffered container is automatically double buffered...

-Nate
 
shawn larkin
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guess what, I buffered the component anyways, and it's around 3 times faster
me happy, thanks for the quick reply
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!