远程运行时 Swing JDialog 速度缓慢
我在通过 X11 远程运行 GUI 时遇到了 JDialogs 的性能问题。 有人知道解决方法吗?
当我在本地计算机上运行 GUI 时,它很快,但有时我们需要在远程服务器上运行它,这会导致显示对话框之前出现明显的延迟。 创建和显示它们大约需要 2 秒。
该问题似乎仅适用于模态 JDialog(包括 JOptionPanes)。
I have experienced performance problems for JDialogs while running my GUI remotely over X11. Does anyone know a workaround?
The GUI is fast when I run it on my local machine, but sometimes we need to run it on a remote server, which causes a significant lag until the dialog is displayed. It takes about 2 seconds to create and display them.
The problem only seems to apply for modal JDialogs (including JOptionPanes).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在将纹理图像应用于窗口背景时遇到了外观和感觉问题。 它在 GUI 设计器的盒子上运行得很好,但是当我们在 LTSP X 终端上尝试它时,它慢得要命。 我们改为无纹理的外观和感觉,事情变得好多了。
I had that problem with a look and feel that applied a textured image to the background of my windows. It ran fine on the gui designer's box, but when we tried it on a LTSP X-terminal, it was dog slow. We changed to an untextured look and feel, and things got much better.