Java GUI lag during window resizing on laptop  
Author Message
M. P.





PostPosted: 2006-3-10 19:49:00 Top

java-programmer, Java GUI lag during window resizing on laptop I was messing around with a Java application I developed on my latop
and noticed something interesting. There seems to be lag with resizing
the windows and resizing the panels via the dividers. BUT this lag
only occurs when my laptop runs on the battery, or, rather, you don't
see this when it is connected to an AC power source.

This also occurs in some other Java applications I downloaded and
tested. But there are others that do not have this behavior.

I am not sure why this happens. But what I do know is that some laptop
manufacturers reduce power consumption by limiting hardware (and
software) factors, including slowing the CPU clock -- not sure if that
is the cause.

Not sure if anyone can give any input to what might be causing this --
an is there a way to rewrite/manupilate my code so that it does not
happen?

 
VisionSet





PostPosted: 2006-3-11 3:01:00 Top

java-programmer >> Java GUI lag during window resizing on laptop
"M. P." <email***@***.com> wrote in message
news:email***@***.com...

> I am not sure why this happens. But what I do know is that some laptop
> manufacturers reduce power consumption by limiting hardware (and
> software) factors, including slowing the CPU clock -- not sure if that
> is the cause.

Probably, Swing speed is noticibly slower below about 700mhz cpu
I've been on that divide for 5 years!

>
> Not sure if anyone can give any input to what might be causing this --
> an is there a way to rewrite/manupilate my code so that it does not
> happen?
>

Don't use Swing frame decorations
More drastically use AWT