約 27,200,000 件の結果
リンクを新しいタブで開く
  1. What is the difference between Swing and AWT? - Stack Overflow

    2009年1月3日 · 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. Java GUI frameworks. What to choose? Swing, SWT, AWT, SwingX, …

    2011年9月9日 · 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, you …

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

  4. Java Event-Dispatching Thread explanation - Stack Overflow

    2024年8月8日 · 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 …

  5. 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 you need to …

  6. java - AWT vs. Swing....why use Swing? - Stack Overflow

    2014年7月8日 · 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 so it could take …

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

  8. Of Swing and AWT, why is one considered light-weight and the other ...

    2009年3月23日 · 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 …

  9. How can I use a custom font in Java? - Stack Overflow

    If you include a font file (otf, ttf, etc.) in your package, you can use the font in your application via the method described here: Oracle Java SE 6: java.awt.Font There is a tutorial available from Oracle that …

  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 mode is useful for …