The behavior and performance of Java GUI apps and applets on my machine is pretty bad. For example, in the Java Cow Quiz applet on JavaRanch (which is infinitely cool, by the way), the screen will come up blank sometimes, and I have to drag another window on top of it and then minimize that window to see all the graphics.
The same thing happens with applets in appletviewer and regular Java apps, even very simple ones.
Even the Java Control Panel does this.
What might I have configured wrong? Is this a common problem? Because if it is, I'm not sure I want to invest more time learning a language which just makes users want to pull the balls out of their mouses in frustration . Okay, I do want to learn it just because it's a very cool language, but I *would* like it to work well. Thanks in advance.
[ June 12, 2003: Message edited by: Layne Lund ]
Originally posted by Tim Allen:
The processor is an AMD K6 @ 500MHz.
There is a lot of you XP problem right there. The AMD K6's were not a very good processor. Even in its day. Pile XP on top of a poor performing processor, and that's what you get. I have a K6 400 on my wifes PC and I have another PC that is a PIII 500 and you would not believe the difference between the 2. And the 100 MHz has nothing to do with it. Both running XP by the way.
Originally posted by Gregg Bolinger:
There is a lot of you XP problem right there. The AMD K6's were not a very good processor. Even in its day. Pile XP on top of a poor performing processor, and that's what you get.
A very good point-- I hadn't thought of that until you mentioned it. *sigh*, not much to do about it until I upgrade my wife's machine (except fire up my Linux box to do Java work!).
Originally posted by Barry Andrews:
I have also noticed Java GUI performance problems when I upgraded to Windows XP. You could try playing with your XP theme to see if it helps. By default XP enables a lot of useless gizmos to enhance the GUI, which mostly just makes things slower.
I'm not running much on the Themes-- I actually use the classic interface.
But I did find something that helps a *lot* on Applets-- in Advanced Options for INternet Explorer, I unchecked "Use Java 2 1.4.1_02 for <applet>". The performance of applets is very good now.
Originally posted by Tim Allen:
I have Windows XP with the J2SE 1.4 SDK (and plugin) installed.
The behavior and performance of Java GUI apps and applets on my machine is pretty bad.
Here is the answer-- and I think it will work for others, as well. I turned down level of "Hardware Acceleration" of the video card (I've got a Trident Video Accelerator Blade 3D; that is, the one that came with the machine)
This setting, which I believe exists all the way back to Windows 95, is in the Video settings section, in the same place where you set set screen resolution. There is a button for "Advanced Options", and then a place for "Problem Solving" (could be "Trouble Shooting"-- I'm translating this from Spanish Windows XP).
There is a slider which runs from Acceleration Off to Maximum. I turned it off first, then ran a Java application that was causing me trouble (my test app does nothing at all-- just paints a JButton on a JFrame). My test app worked perfectly. Then I started edging the setting up a notch at a time. Basically, the app gave me no trouble until the second click up. So I dropped the setting back down one.
That's it for me. I haven't noticed any trouble with other applications-- for example, running Windows Media Viewer doesn't seem to be more problematic.