rero.dck.items

Class ImageInput.ImagePreview

protected class ImageInput.ImagePreview extends JPanel implements PropertyChangeListener

Field Summary
protected Filefile
protected JLabellabel
protected ImageIconthumbnail
Constructor Summary
ImagePreview(JFileChooser fc)
Method Summary
voidloadImage()
voidpaintComponent(Graphics g)
voidpropertyChange(PropertyChangeEvent e)

Field Detail

file

protected File file

label

protected JLabel label

thumbnail

protected ImageIcon thumbnail

Constructor Detail

ImagePreview

public ImagePreview(JFileChooser fc)

Method Detail

loadImage

public void loadImage()

paintComponent

public void paintComponent(Graphics g)

propertyChange

public void propertyChange(PropertyChangeEvent e)