问题显然是你没编好,而且也没问好,应该把代码贴出来。但是有一招。你先在child中把super.getImage()注掉。然后生成一个新的bufferedImage,就用这个bufferedImage,看看有没有显示,如果没有,你就没有必要说一大套什么谁继成谁的。是你child中没画好而已!!!去干吧。

解决方案 »

  1.   

    我是想问怎样在原来的bufferedimage对象上继续画图,而且结果也保存为bufferedimage对象,新生成一个bufferedimage对象,在其上操作会不会覆盖掉原来的
      

  2.   

    不会覆盖,拿到Image后得到graphics进行绘制就可以了
      

  3.   

    可是用bufferedimage.createGraphics()和bufferedimage.getGraphics()都试过了,只有超类中的图形,子类中画的还是看不见。
      

  4.   

    possible problems:1. Big is a global variable in Base and be initialized in declaration or the  construction of Base 2. make sure you fill in the content in Big before you get it in Child. you can display the BufferedImage in Child you get from Base to make sure that you do get it and it has contents.