Reputation: 2332
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.getCrossPlatformLookAndFeelClassName());
but didn't find any success.
Upvotes: 1
Views: 959
Reputation: 12390
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.
Upvotes: 2