About 51 results
Open links in new tab
  1. What is the difference between Swing and AWT? - Stack Overflow

    Jan 3, 2009 · AWT is a Java interface to native system GUI code present in your OS. It will not work the same on every system, although it tries. Swing is a more-or-less pure-Java GUI. It uses AWT to …

  2. Diferença entre AWT e Swing na renderização de componentes

    Jan 9, 2017 · Quais são as principais diferenças entre as bibliotecas de construção de interface Swing e AWT, no que diz a respeito da forma de renderização dos componentes de ambas e a performance?

  3. Java GUI frameworks. What to choose? Swing, SWT, AWT, SwingX, …

    Sep 9, 2011 · AWT, Swing and SWT are UI toolkits but I would certainly not call them "frameworks". Frameworks are based upon a given UI toolkit and provide the glue to build your application. First, …

  4. All my java applications now throw a java.awt.headlessexception

    So a couple days ago I had several working Java applications using the Swing library, JFrame in particular. They all worked perfectly fine and now they all throw this exception: java.awt.

  5. java - NoClassDefFoundError: Could not initialize class sun.awt ...

    Apr 1, 2019 · NoClassDefFoundError: Could not initialize class sun.awt.X11FontManager Asked 6 years, 9 months ago Modified 1 year, 2 months ago Viewed 52k times

  6. java - AWT vs. Swing....why use Swing? - Stack Overflow

    Jul 8, 2014 · No, AWT is doing the painting, or more to the point, it provides access to the Graphics layer for Swing to paint on. Swing, unlike JavaFX, borrows a lot from the AWT API so it could take …

  7. Of Swing and AWT, why is one considered light-weight and the other ...

    Mar 23, 2009 · AWT is said to be "Heavyweight" because basically each AWT component is a native platform component. AWT is implemented on top of the platform's native GUI toolkit. This also …

  8. Java Event-Dispatching Thread explanation - Stack Overflow

    Aug 8, 2024 · The event dispatch thread is a special thread that is managed by AWT. Basically, it is a thread that runs in an infinite loop, processing events. The java.awt.EventQueue.invokeLater and …

  9. java - SWT and AWT, what is the difference? - Stack Overflow

    AWT is the original cross-platform, native-peer based GUI widget set. It drew a lot of complaints for not being perfectly consistent across platforms. Sun built the Swing widget set to answer those …

  10. What is the benefit of setting java.awt.headless=true?

    There is no performance benefit of setting java.awt.headless=true if you're not using AWT features. AWT features are loaded on-demand. As explained in the linked article, headless mode is useful for …