Win a copy of Java Challengers this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

How is Swing Performance on Unix/Linux Compared to Windows?

 
Ranch Hand
Posts: 585
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I do not have a unix/linux/mac OS X computer, so i have never been able to try Java's Swing on those platforms. I have used it on windows, and for the most part, the performance is not great (although jEdit is in Swing and has very good performance - but I do have alot of RAM)
So for everyone out there who uses Swing on Linux/Unix, please tell me, is the performance good? How is it compared to other GUI products? I am wondering, because IF it is good, then the poor performance of Swing that I always hear about is due to the implementation on Windows (or possibly windows itself). But I want to know if Swing just is not viable at all, or if it is on certain platforms.
[ August 22, 2002: Message edited by: Robert Paris ]
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Robert Paris:
I do not have a unix/linux/mac OS X computer, so i have never been able to try Java's Swing on those platforms. I have used it on windows, and for the most part, the performance is not great (although jEdit is in Swing and has very good performance - but I do have alot of RAM)
So for everyone out there who uses Swing on Linux/Unix, please tell me, is the performance good? How is it compared to other GUI products? I am wondering, because IF it is good, then the poor performance of Swing that I always hear about is due to the implementation on Windows (or possibly windows itself). But I want to know if Swing just is not viable at all, or if it is on certain platforms.
[ August 22, 2002: Message edited by: Robert Paris ]



From my own experience, the performance of my SWING App on Linux is much better than on Windows NT(Same Machine, Different OS)
 
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
from what I experienced, part of the performance of swing depends on implementation of the gui, part of it on the jvm, where the jvm on windows is said to be _better_ than the one on linux. In 1.4, Swing performance is much better than in 1.3 (on any os that runs both).
there are lots of articles on how to improve performance in swing uis. one tip, for example, is to use a hashmap as backing store of a table model etc.
cheers
 
Yeah. What he said. Totally. Wait. What? Sorry, I was looking at this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic