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