About 9,930,000 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 …

  2. Getting a HeadlessException: No X11 DISPLAY variable was set

    Exception in thread "main" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.

  3. "No X11 DISPLAY variable" - what does it mean? - Stack Overflow

    java -Djava.awt.headless=true -jar gate-5.0-beta1-build3048-installer.jar Additional Note You can also try to set JAVA_TOOL_OPTIONS variable before running the .jar file such as for the app …

  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 - Diferença entre AWT e Swing na renderização de …

    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 …

  6. The import java.awt cannot be resolved - Stack Overflow

    58 Is the java.awt included in JDK 10? Ye, the package does exist. The Java10 API docs do confirm the same as well. If yes where is and how can I make visible to Eclipse? In a modular …

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

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

  9. java.awt is missing in Eclipse - Stack Overflow

    Mar 27, 2023 · The type names in the package clash with common names in other packages. For example, java.awt.List is a thing. The java ecosystem at large means, literally, java.util.List …

  10. java - How do i import AWT? - Stack Overflow

    Mar 12, 2010 · Im teaching myself java and the book i'm looking at just got around to explaining AWT. here is my source code: java.awt.* class obj { public static void main (String[]arg) { Po...