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. java - What is sun.awt.windows.WToolkit? - Stack Overflow

    Feb 3, 2014 · The names speak for themselves: AWT stands for Abstract Window Toolkit which implies that the Toolkit is abstract and requires an actual implementation. sun.awt.windows.WToolkit is such …

  5. 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 …

  6. 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 …

  7. 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 …

  8. java - How to add an image to a frame in AWT? - Stack Overflow

    Mar 18, 2023 · Why AWT? Better to use Swing -- put the image into an ImageIcon, put that into a JLabel and then display the JLabel in a JFrame. AWT has been out of date for over 20+ years and is well …

  9. 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.

  10. 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 …