How java swing draws to screen from different operating systems?

后端 未结 1 404
情深已故
情深已故 2020-12-22 04:19

I know Swing use Java2d which extends AWT to draw on screen but, what low level toolkit is used by swing to render? GTK or QT for example?

相关标签:
1条回答
  • 2020-12-22 04:31

    Concrete implementations of 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 often used on Linux.

    0 讨论(0)
提交回复
热议问题