Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

XWT is written in Java — does it use Swing? Does it use AWT?

AWT Java swing written XWT
0
Posted

XWT is written in Java — does it use Swing? Does it use AWT?

0

XWT does not use Swing. XWT only uses AWT when it is running inside a JVM. When compiled into a platform-specific binary with gcj, it uses native methods to access the host OS’s graphics routines directly. AWT is abstracted away with the org.xwt.Picture, org.xwt.Surface, and org.xwt.DoubleBuffer classes. The only AWT classes/methods used are Image, Font, Frame, Window, Graphics.fillRect(), Graphics.drawString(), and Graphics.drawImage().

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123