损坏的Java Swing窗口 [英] Corrupted Java Swing Window

查看:50
本文介绍了损坏的Java Swing窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写的Java swing GUI程序的一个用户遇到一个问题,即主swing窗口无法正确呈现到屏幕上,并且GUI冻结了.这是他屏幕上的屏幕截图(顶部)和应该显示的屏幕截图(底部)的比较:

One of the users of a Java swing GUI program that I wrote is having an issue where the main swing window doesn't render to the screen properly and the GUI freezes up. Here's a comparison of the screenshot on his screen (top) and what is supposed to show up (bottom):

替代文字http://www.shapecollage.com/temp/SwingCorruption.jpg

他正在运行带有Java 1.6.0_13的Windows XP SP3,其图形卡是具有双显示器设置的ATI X1600.

He is running Windows XP SP3 with Java 1.6.0_13 and his graphics card is an ATI X1600 with a dual monitor set-up.

该程序(如果您想自己进行测试)位于:
www.shapecollage.com/download.html

The program (if you would like to test for yourself) is at:
www.shapecollage.com/download.html

我有数千名用户,没有其他人报告过此错误,并且已经在Windows XP上进行了全面测试.任何计算都可以在与常规GUI线程不同的线程中完成,并且该程序可以在许多其他计算机上运行,​​因此我认为程序本身不是问题,而是他的特定设置有问题.

I have several thousand users and no one else has reported this error and I have tested it thoroughly on Windows XP. Anything computational is done in a separate thread from that of the regular GUI thread and the program works on many other computers, so I don't think it's a problem with the program itself, but rather, something wrong with his particular set-up.

有人在系统上之前曾见过这种类型的错误吗?或者对这个用户系统上可能导致此问题的错误有任何建议?

Has anyone seen this type of error before on a system or have any suggestions as to what might be wrong on this user's system that would cause such a problem?

谢谢,
文森特

Thanks,
Vincent

推荐答案

我们有一个非常相似的问题,该问题已通过更新图形驱动程序得以解决.问题可能出在双显示器设置上,导致VRAM损坏,因此您的客户可能会尝试,如果仅使用一台显示器可以更好地工作.虽然您可能会希望Java不太依赖于硬件,但是当通过特定的投影仪类型运行时,我们的图形密集型应用程序始终能够对BSOD进行管理.

We had a very similar problem, which was fixed by updating the graphics driver. The problem might come from the dual monitor setup leading to VRAM corruption, so your customer might try if it will work better with only a single monitor. While you might expect Java would not be very dependent on the hardware, our graphics-intensitive application always manages to BSOD when run through a particular projector type...

这篇关于损坏的Java Swing窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆