Class BildKomp


(package private) class BildKomp
extends JPanel

Field Summary

private JLabel
bild
private int
maxBreite
private int
maxHoehe

Constructor Summary

BildKomp(Image img, String title)
BildKomp(Image img, String title, Color farbe)

Method Summary

Image
getImage()
void
paintComponent(Graphics g)
void
setImage(Image img)

Field Details

bild

private JLabel bild

maxBreite

private final int maxBreite

maxHoehe

private final int maxHoehe

Constructor Details

BildKomp

(package private)  BildKomp(Image img,
                            String title)

BildKomp

(package private)  BildKomp(Image img,
                            String title,
                            Color farbe)

Method Details

getImage

public final Image getImage()

paintComponent

public void paintComponent(Graphics g)

setImage

public void setImage(Image img)