Re: Fading window problem
- From: Tom N <me@xxxxxxxxxxx>
- Date: Tue, 26 Jul 2005 02:50:10 GMT
anon03@comcast wrote:
> I am trying to create a simple program that fades a window or dialog
> into view showing some text and then fade out again. Kind of like that
> email notifier in Win XP. I am using the AlphaComposite class and
> things are looking good except for when the program starts. For a split
> second you see a gray colored square on the screen and then it
> disappears quickly, then a panel with a label fades into view, and then
> fades out again. This gray colored square that you see for a second is
> the problem.
>
> I assume that since I am calling show() for the frame it is being drawn
> just before the panel is laid over by the image of the screen which
> slowly fades away so the UI fades into view. How do I get rid of seeing
> the gray square for a split second and just see the panel with the
> label coming into view?
You could possibly set the frame off screen initially then move it back on screen at the appropriate time.
.
- Follow-Ups:
- Re: Fading window problem
- From: anon03
- Re: Fading window problem
- References:
- Fading window problem
- From: anon03
- Fading window problem
- Prev by Date: How to get Memory Status?
- Next by Date: Re: drawImage returns false for Microsoft Java
- Previous by thread: Re: Fading window problem
- Next by thread: Re: Fading window problem
- Index(es):
Relevant Pages
|