java swing 如何从不同的操作系统绘制到屏幕?

How java swing draws to screen from different operating systems?

我知道 Swing 使用扩展 AWT 的 Java2d 在屏幕上绘制,但是,swing 使用什么低级工具包来呈现?例如 GTK 或 QT?

Graphics2D on each supported platform direct painting to a heavyweight peer component provided by the host, e.g. Quartz on Mac OS X, Graphics Device Interface on Windows, and Xlib/XCB, part of the X Window System 的具体实现经常用于 Linux。