This week's book giveaway is in the Android forum.
We're giving away four copies of Android Programming: The Big Nerd Ranch Guide and have Bill Phillips & Chris Stewart on-line!
See this thread for details.
Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with painting JFrame  RSS feed

 
MD SALAHUDDIN
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
 
Tamizh Selvan
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!