首先在JLabelA显示图片,而后提取到数据流,在JLabelB显示图片,但是什么也没有,为什么?
代码如下:
ImageIcon imag = new ImageIcon("d:\\1.jpg");
JLabelA.setIcon(imag);
ImageIcon imageIcon = (ImageIcon) JLabelA.getIcon();
Image image = imageIcon.getIma ...
↧