See also e551 精简的Applet.

    Image image;
    public void init() {
        // Load image
        image = getImage(getDocumentBase(), "http://hostname/image.gif");
    }
    public void paint(Graphics g) {
        // Draw image
        g.drawImage(image, 0, 0, this);
    }

 

Related Examples

相关文章:

  • 2022-12-23
  • 2021-05-27
  • 2021-10-05
  • 2021-12-16
  • 2021-05-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-29
  • 2021-07-28
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案