• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with painting JFrame  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have 2 frame display one above other when i drag any of these frame my frames get blurred.can any one suggest me when i shall call the repaint method.
salahuddin
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
call the invalidate() method in windowStateChanged(WindowEvent e) method of the windowAdapter Class.
Hope this help u.
Marcus
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!