can anyone tell me how to make appear a jframe in a slow motion in java

i'm using netbeans editor..............

Recommended Answers

All 7 Replies

Can you explain what "jframe in a slow motion" means?
Does the frame move slowly across the console?
Do the pixels of the frame come slowly into view?

no what that i actually means is:

from one form when I click a button the second form should appear in a little slow motion......not suddenly

in c# we used to do that by using the code like this......

int Value = 1000;
int flags = WinAPI.AW_ACTIVATE | WinAPI.AW_BLEND;
int animationTime = (int)Value;
            
Form2 a = new Form2(animationTime, flags);
a.Show();

the second form should appear in a little slow motion

What is the form you talk about? Another OS window?
What does "slow motion" look like? Are you talking about pixels in the new window appearing over a time lapse? From top to bottom like pulling down a screen? Or from bottom up like pouring water in a glass?
Or over all of the window have the pixels be painted in from 0% shown to 100% shown?

Yes ::::

* same project form1, form2....

* From top to bottom like pulling down a screen
Or over all of the window have the pixels be painted in from 0% shown to 100% shown...

this C# code isn't good too

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.