• Post Reply Bookmark Topic Watch Topic
  • New Topic

Painting mechanism in swing

 
Shyam Purkayastha
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does the painting work in swing?
What attributes do i have to set in the JFrame or sub classess of JComponent to acheive repaint when another window overlaps them.
I am in a process of writing an application in which i am using quite a few custom components.But whenever another window overlaps they are erased .Even the standard components like JButton is erased.What do I do.Please Help?
Shtam
 
Josh Rehman
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just answered this 2 days ago. See that Google search box at the bottom of the page? Use it!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!