/**
* Creates an image from the specified image producer.
* @param producer the image producer
* @return the image produced
* @since JDK1.0
*/
public Image createImage(ImageProducer producer) {
ComponentPeer peer = this.peer;
if ((peer != null) && ! (peer instanceof LightweightPeer)) {
return peer.createImage(producer);
}
return getToolkit().createImage(producer);
}
Component.java 文件源码
java
阅读 26
收藏 0
点赞 0
评论 0
项目:jdk8u-jdk
作者:
评论列表
文章目录