• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 207
  • Last Modified:

problem with applet getting covered up by another screen

Hi,
   I have an applet to also gets inputs from the command line screen. Whenever I move the command line screen, it just repaints or erases a portion of the applet. Is there any way to keep the applet frozen after it has been drawn? thanks!
0
azcalv408
Asked:
azcalv408
  • 2
1 Solution
 
spyderhydrantCommented:
Hi azcalv,

That can happen for several reasons. One common mistake is to not put "super.paint(g);" at the beggining of all your paint methods.

Can you post your code?
0
 
azcalv408Author Commented:
all my paint components are in the paint method. If I move the screen, it'll redraw the components or erase one part. Just wondering if there's a way to not repaint when something interrupts the screen.
0
 
spyderhydrantCommented:
Can you paste all or part of your paint method so I can see it? There is essentially no way to prevent a repaint when something interrupts the screen, this is part of the operating system and  virtual machine functionality.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now