How java swing draws to screen from different operating systems?

╄→尐↘猪︶ㄣ 提交于 2019-11-28 10:35:57

问题


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.



来源:https://stackoverflow.com/questions/29440313/how-java-swing-draws-to-screen-from-different-operating-systems

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!