就是怎么样在一个IMAGE实例上再加上一个IMAGE啊??

解决方案 »

  1.   

    Image im=new Image();
    im.getGraphics().drawImage(0,0,width,height,anotherimage)
    如果在html里用<iframe>
      

  2.   

    im.getGraphics().drawImage(0,0,width,height,anotherimage)???有这种方法吗??
    只有drawImage(Image img, int x, int y, int width, int height, ImageObserver observer)的啊。
      

  3.   

    还有一个方法就是用drawImage方法,这个方法可以在AWT、swing和applet实现,但是在内存里好像不管用,因为观察点找不到。另外图形的放缩也不好实现,我到现在也没找到方法,好像Graphics2D里可以实现。
      

  4.   

    用drawImage方法怎么在swing上实现啊??
      

  5.   

    是覆盖吗?  用Graphics的setPaintMode不行吗?
      

  6.   

    使用两个Label,小的Lable的坐标调整到另外一个就可以,不过要注意带有小图片的Label的
    层必须在大图片之上