Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maximised window goes slow

 
Malcolm Storey
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have just noticed that when I maximise the window, it all goes slow as though there's a processor-hungry background process. javascript:%20x() It's not my code cos the following modified simple example from the Sun website shows the problem (sorry about Sun's lengthy disclaimer but thought I'd better leave it in!)

Am running Windows XP-Pro v2002 SP3 on a Pentium 4, 1.70GHz 1.69GHz 1.25GB RAM. I'd be grateful for advice (or somebody telling me my PC's flakey!)

Many thanks
Malcolm Storey



[Edit] Added code tags. RP [/Edit]
[ November 09, 2008: Message edited by: Rob Prime ]
 
Rob Spoor
Sheriff
Pie
Posts: 20669
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please Use Code Tags. I've added them for you this time.

I've tried it but found no slowness at all. Can you open your Windows task manager, then do your stuff while the task manager is still visible (it's always on top so that's a plus), and check the CPU usage of your program?
 
Malcolm Storey
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Task Manager shows Javaw.exe using a lot of processor time (20-30, rising to 90 when I drag slowly). It uses a lot less (10-15) when not maximised.

Have checked Java control panel and it says I have the latest version. Have just updated Eclipse. No improvement.

Am not sure about the libraries tho. (Am new to Java)
Thanks
Malcolm
 
Rob Spoor
Sheriff
Pie
Posts: 20669
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's odd that your CPU usage goes up like that.

Sure it's "only" a P4, but I've just tested it on a P4 3GHz with just 1GB of RAM, and even with hardware acceleration turned off for the graphics adapter it didn't go over 6%.
 
Malcolm Storey
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Rob. Seems it's just my flakey old PC - a problem that will get fixed sooner or later by buying a new one.

Thanks again, and apologies for missing out the code tags.
[ November 11, 2008: Message edited by: Malcolm Storey ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic