About 10,100,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. linux - Java Can't connect to X11 window server using …

    Now I just get "Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:1.0' as the value of the DISPLAY variable." on Ubuntu 16.04.

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

  5. Headless exception in java - Stack Overflow

    Dec 26, 2012 · I heard that when we use awt or swing, while creating a FRAME, an unchecked exception may be thrown which is "Headless exception". I never got this exception. Can …

  6. multithreading - Java AWT Threads - Stack Overflow

    Jul 20, 2012 · I'm having an issue with Threads using netbeans Swing GUI. This is my first time really trying to develop a GUI for a backup program using Java's File System Notifier. I have …

  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. java - How to fix an UnsatisfiedLinkError (Can't find dependent ...

    On Windows we've had to put .dll files in the [JRE]\bin directory (same place where java.exe, etc. are) to get Java to see them automatically without having to muck with command line options …

  9. Java + Windows RDP disconnect causes Java Headless Exception

    Dec 9, 2024 · Try modifying your application to handle AWT errors gracefully. Use GraphicsEnvironment.isHeadless () to determine the state dynamically and disable UI …

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