显示多个图像我已搜查多处添加和显示图像上动态的JPanel,但不能得到适当的帮助。 基本上我有JPanel,我必须垂直显示许多图像,但它应该是动态的。的Java Swing - 动态上的JPanel
for(int i=0;i<macthedImages.length;i++) {
JLabel jLabel = new JLabel(new ImageIcon(macthedImages[i]));
searchResultPanel.add(jLabel);
}
macthedImages是bufferedImages 数组searchResultPanel是JPanel的
好了,什么问题呢? – SuperTron 2011-12-14 07:24:08
执行后无法看到图像 – 2011-12-14 07:31:27