About 12,000,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. 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 …

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

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

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

    Dec 25, 2011 · 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 …

  6. Java converting Image to BufferedImage - Stack Overflow

    There is already question like this link on StackOverflow and the accepted answer is "casting": Image image = ImageIO.read(new File(file)); BufferedImage buffered = (BufferedImage) …

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

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

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

    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 code, all …

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

  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 …