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

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

  6. Creating a game interface with java Swing/AWT - Stack Overflow

    Oct 12, 2023 · I started coding a few weeks ago and I am currently trying to create a Java GUI for a game using Swing and AWT. I have created the code below. public class UI { JFrame frame = new …

  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.awt.AWTError: Can't connect to X11 window server using 'localhost ...

    Apr 5, 2023 · Does this answer your question? Java Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable

  9. why Exception in thread "AWT-EventQueue-0" java.lang.Error occured?

    Dec 30, 2020 · Exception in thread "AWT-EventQueue-0" java.lang.Error: Unresolved compilation problems: org.netbeans cannot be resolved to a type org.netbeans cannot be resolved to a type …

  10. JAVA awt.print.PrinterJob setPrintable() is slow caused by sun.awt ...

    Jun 9, 2025 · very slow printing with java. awt. print. PrinterJob Why printing is so slow Why is this Java Page Printing so extraordinarily slow So my Question is: What could cause that long waiting time? …