Solved

problem with applet getting covered up by another screen

Posted on 2006-10-28
3
193 Views
Last Modified: 2010-03-31
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
Comment
Question by:azcalv408
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
spyderhydrant earned 50 total points
ID: 17826537
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
 

Author Comment

by:azcalv408
ID: 17826569
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
 
LVL 1

Expert Comment

by:spyderhydrant
ID: 17826638
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

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
The viewer will learn how to implement Singleton Design Pattern in Java.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now