I'm dealing with a strange problem. I have a GUI built using swing. Its performance is very good at Windows but on linux/unix box its performance degrades to 10 times.
I'm using UIManager for GUI but I tried using LaF like
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
OR UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFe开发者_如何转开发elClassName());
but didn't find any success.
swing uses Java2D API to draw all of it's components which calls low level operating system functions for drawing. Is it possible that you haven't installed graphic drivers on linux right? I'm just guessing. Anyway provide more information about operationg system where did you try your application. Which windows manager did you tried at linux? Did you try your application on different computers? etc.
精彩评论